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