mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 12:05:37 +00:00
Merge pull request #2624 from JayDevlin/bad-redirect-in-changepasswordform
Bad redirect in ChangePasswordForm->doChangePassword()
This commit is contained in:
commit
23942e4782
@ -81,7 +81,7 @@ class ChangePasswordForm extends Form {
|
||||
// The user is not logged in and no valid auto login hash is available
|
||||
if(!$member) {
|
||||
Session::clear('AutoLoginHash');
|
||||
$this->controller->redirect('loginpage');
|
||||
$this->controller->redirect($this->controller->Link('login'));
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user