silverstripe-framework/security
Ingo Schommer e56ad9b37c Don't clear BackURL after MemberAuthenticator::authenticate()
It breaks logic flow, e.g. when

Its called by BasicAuth:requireLogin() when basic auth is enabled,
before any controller logic kicks in (on every HTTP request).
This means you can't use session-based BackURLs with basic auth enabled,
breaking flows like redirection after Facebook logins.

I can't see why a clear() was necessary here, looks like a overly
cautious way to prevent infinite loops? Can't see how those
would be caused by requireLogin() though.

Been there since all the way back in 2007: a377a67e54
2014-08-25 23:12:52 +12:00
..
Authenticator.php Remove all redundant whitespace 2014-08-19 09:17:15 +12:00
BasicAuth.php Remove all redundant whitespace 2014-08-19 09:17:15 +12:00
ChangePasswordForm.php Remove all redundant whitespace 2014-08-19 09:17:15 +12:00
Group.php Remove all redundant whitespace 2014-08-19 09:17:15 +12:00
GroupCsvBulkLoader.php Remove all redundant whitespace 2014-08-19 09:17:15 +12:00
LoginAttempt.php Remove all redundant whitespace 2014-08-19 09:17:15 +12:00
LoginForm.php Remove all redundant whitespace 2014-08-19 09:17:15 +12:00
Member.php Remove all redundant whitespace 2014-08-19 09:17:15 +12:00
MemberAuthenticator.php Don't clear BackURL after MemberAuthenticator::authenticate() 2014-08-25 23:12:52 +12:00
MemberCsvBulkLoader.php Remove all redundant whitespace 2014-08-19 09:17:15 +12:00
MemberLoginForm.php Remove all redundant whitespace 2014-08-19 09:17:15 +12:00
MemberPassword.php Remove all redundant whitespace 2014-08-19 09:17:15 +12:00
PasswordEncryptor.php Remove all redundant whitespace 2014-08-19 09:17:15 +12:00
PasswordValidator.php Remove all redundant whitespace 2014-08-19 09:17:15 +12:00
Permission.php Remove all redundant whitespace 2014-08-19 09:17:15 +12:00
PermissionCheckboxSetField.php Remove all redundant whitespace 2014-08-19 09:17:15 +12:00
PermissionFailureException.php Remove all redundant whitespace 2014-08-19 09:17:15 +12:00
PermissionProvider.php FIX Remove instances of lines longer than 120c 2012-09-30 17:18:13 +13:00
PermissionRole.php Remove all redundant whitespace 2014-08-19 09:17:15 +12:00
PermissionRoleCode.php Remove all redundant whitespace 2014-08-19 09:17:15 +12:00
RandomGenerator.php Remove all redundant whitespace 2014-08-19 09:17:15 +12:00
Security.php Remove all redundant whitespace 2014-08-19 09:17:15 +12:00
SecurityToken.php Remove all redundant whitespace 2014-08-19 09:17:15 +12:00