From 0fdf93469bac06e45a46d5a9821655a718827ec3 Mon Sep 17 00:00:00 2001 From: Sam Minnee Date: Sun, 6 Apr 2008 22:16:43 +0000 Subject: [PATCH] #2362 - Fixed change password form git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.2.2@52206 467b73ca-7a2a-4603-9d3b-597d59a354a9 --- security/ChangePasswordForm.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/security/ChangePasswordForm.php b/security/ChangePasswordForm.php index 346963538..8f0b595c2 100755 --- a/security/ChangePasswordForm.php +++ b/security/ChangePasswordForm.php @@ -37,7 +37,7 @@ class ChangePasswordForm extends Form { } if(!$actions) { $actions = new FieldSet( - new FormAction("changePassword", _t('Member.BUTTONCHANGEPASSWORD', "Change Password")) + new FormAction("doChangePassword", _t('Member.BUTTONCHANGEPASSWORD', "Change Password")) ); } @@ -50,7 +50,7 @@ class ChangePasswordForm extends Form { * * @param array $data The user submitted data */ - function changePassword(array $data) { + function doChangePassword(array $data) { if($member = Member::currentUser()) { // The user was logged in, check the current password if($member->checkPassword($data['OldPassword']) == false) {