1
0
mirror of https://github.com/BookStackApp/BookStack.git synced 2025-07-28 17:02:04 +03:00

Merge branch 'openid' of https://github.com/jasperweyne/BookStack into jasperweyne-openid

This commit is contained in:
Dan Brown
2021-10-06 13:17:30 +01:00
25 changed files with 940 additions and 34 deletions

View File

@ -318,6 +318,7 @@ class AuthTest extends TestCase
$this->assertTrue(auth()->check());
$this->assertTrue(auth('ldap')->check());
$this->assertTrue(auth('saml2')->check());
$this->assertTrue(auth('openid')->check());
}
public function test_login_authenticates_nonadmins_on_default_guard_only()
@ -330,6 +331,7 @@ class AuthTest extends TestCase
$this->assertTrue(auth()->check());
$this->assertFalse(auth('ldap')->check());
$this->assertFalse(auth('saml2')->check());
$this->assertFalse(auth('openid')->check());
}
public function test_failed_logins_are_logged_when_message_configured()