mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02: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
|
||||
if(!$member) {
|
||||
Session::clear('AutoLoginHash');
|
||||
$this->controller->redirect('loginpage');
|
||||
$this->controller->redirect($this->controller->Link('login'));
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user