From 6c6ab7b0ce6e24ff48a4cd46c66044aec47ed4eb Mon Sep 17 00:00:00 2001 From: Devlin Date: Wed, 30 Oct 2013 09:46:39 +0100 Subject: [PATCH] Bad redirect in ChangePasswordForm->doChangePassword() --- security/ChangePasswordForm.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/security/ChangePasswordForm.php b/security/ChangePasswordForm.php index 273d64cf1..2dfbe51f3 100644 --- a/security/ChangePasswordForm.php +++ b/security/ChangePasswordForm.php @@ -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; } }