feat: harden the myep OAuth2 login

This commit is contained in:
fromme committed 2026-09-23 15:18:43 +02:00
1 parent 4517b84023
commit 91419294b8
25 files changed
+1013 -35

No files matched your search

+2 -1
View File
@@ -70,7 +70,8 @@ class DashboardControllerTest extends WebTestCase
$crawler = $this->client->request('GET', '/');
self::assertCount(0, $crawler->filter('#mobilenav'));
self::assertCount(1, $crawler->filter('a[href="/logout"]'));
// The way out is a form, not a link: the firewall's logout is CSRF-protected.
self::assertCount(1, $crawler->filter('form[action="/logout"]'));
}
public function testATileCountsWhatIsStillFreeToday(): void