]> BookStack Code Mirror - bookstack/commit
Fixed not shown existing-email warning on new ldap user
authorDan Brown <redacted>
Sun, 26 Apr 2020 11:13:00 +0000 (12:13 +0100)
committerDan Brown <redacted>
Sun, 26 Apr 2020 11:13:00 +0000 (12:13 +0100)
commit8ce38d2158d455ac18f7181119dcc4d68073eda9
treeb4b08ec04aee25bbe70e77e1879af0387151be9e
parent468fec80de7e32d2881eab2d7f7c40a2df872956
Fixed not shown existing-email warning on new ldap user

- Reduced the amount of different exceptions from LDAP attempt so they
can be handled more consistently.
- Added test to cover.
- Also cleaned up LDAP tests to reduce boilterplate mocks.

Fixes #2048
app/Auth/Access/Guards/LdapSessionGuard.php
app/Exceptions/NotifyException.php
tests/Auth/LdapTest.php