]> BookStack Code Mirror - bookstack/commit
Made email confirmations work with LDAP auth
authorDan Brown <redacted>
Sun, 3 Apr 2016 11:16:54 +0000 (12:16 +0100)
committerDan Brown <redacted>
Sun, 3 Apr 2016 11:16:54 +0000 (12:16 +0100)
commit2bb8c3d91402d2465b4ddb70832055a8b47dab0d
treeb6dddafb0b82d08f390d2779574d50c6f33a0580
parent4caa61fe96537a88636af4cc6c8893b5b91aaaef
Made email confirmations work with LDAP auth

The email_confirmed user field now actually indicates if an email is confirmed rather than defaulting to true if not checked.
 This ensures toggleing the 'Require email confirmation' setting actually makes all currently unconfirmed users confirm thier emails.
app/Http/Controllers/Auth/AuthController.php
app/Http/Middleware/Authenticate.php
app/Providers/LdapUserProvider.php
app/Repos/UserRepo.php
Morty Proxy This is a proxified and sanitized view of the page, visit original site.