Two factor (#47)

* init 2fa

* fix code style
This commit is contained in:
Saeed Vaziry
2023-09-11 20:47:44 +02:00
committed by GitHub
parent 13d4529d42
commit 9030427f78
24 changed files with 652 additions and 259 deletions

View File

@ -13,7 +13,7 @@ public function test_logout(): void
{
$this->actingAs($this->user);
$this->post(route('logout'))->assertRedirect(route('login'));
$this->post(route('logout'))->assertRedirect('/');
$this->assertFalse(auth()->check());
}