mirror of
https://github.com/BookStackApp/BookStack.git
synced 2024-10-01 01:36:00 -04:00
Applied latest styleCI changes
This commit is contained in:
parent
d2b49084b0
commit
2325a307a5
@ -60,11 +60,11 @@ class LdapSessionGuard extends ExternalBaseSessionGuard
|
|||||||
* @param array $credentials
|
* @param array $credentials
|
||||||
* @param bool $remember
|
* @param bool $remember
|
||||||
*
|
*
|
||||||
* @return bool
|
|
||||||
* @throws LdapException*@throws \BookStack\Exceptions\JsonDebugException
|
* @throws LdapException*@throws \BookStack\Exceptions\JsonDebugException
|
||||||
*
|
|
||||||
* @throws LoginAttemptException
|
* @throws LoginAttemptException
|
||||||
* @throws JsonDebugException
|
* @throws JsonDebugException
|
||||||
|
*
|
||||||
|
* @return bool
|
||||||
*/
|
*/
|
||||||
public function attempt(array $credentials = [], $remember = false)
|
public function attempt(array $credentials = [], $remember = false)
|
||||||
{
|
{
|
||||||
|
@ -382,7 +382,7 @@ class LdapTest extends TestCase
|
|||||||
'count' => 1,
|
'count' => 1,
|
||||||
0 => 'cn=monsters,ou=groups,dc=example,dc=com',
|
0 => 'cn=monsters,ou=groups,dc=example,dc=com',
|
||||||
],
|
],
|
||||||
]
|
],
|
||||||
], ['count' => 0]);
|
], ['count' => 0]);
|
||||||
|
|
||||||
$resp = $this->mockUserLogin();
|
$resp = $this->mockUserLogin();
|
||||||
@ -392,7 +392,7 @@ class LdapTest extends TestCase
|
|||||||
'memberof' => [
|
'memberof' => [
|
||||||
0 => 'cn=ldaptester,ou=groups,dc=example,dc=com',
|
0 => 'cn=ldaptester,ou=groups,dc=example,dc=com',
|
||||||
'count' => 1,
|
'count' => 1,
|
||||||
]
|
],
|
||||||
],
|
],
|
||||||
'parsed_direct_user_groups' => [
|
'parsed_direct_user_groups' => [
|
||||||
'ldaptester',
|
'ldaptester',
|
||||||
|
Loading…
Reference in New Issue
Block a user