Bad redirect in ChangePasswordForm->doChangePassword()

This commit is contained in:
Devlin 2013-10-30 09:46:39 +01:00
parent ba1e688729
commit 6c6ab7b0ce

View File

@ -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;
}
}