commit 4515f9a4f1101e6804f9c6c3d869940f755e86d3
parent 484188c46dad494c1df85106f2a62631180c8bcc
Author: dankert <devnull@localhost>
Date: Sat, 17 Nov 2007 16:32:28 +0100
Besserer Hinweis, wenn beide Kennw?rter nicht ?berein stimmen.
Diffstat:
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/actionClasses/ProfileAction.class.php b/actionClasses/ProfileAction.class.php
@@ -142,7 +142,7 @@ class ProfileAction extends Action
}
elseif ( $this->getRequestVar('password1') != $this->getRequestVar('password2') )
{
- $this->addValidationError('password2');
+ $this->addValidationError('password2','PASSWORDS_DO_NOT_MATCH');
$this->callSubAction('pwchange');
}
else
@@ -150,7 +150,6 @@ class ProfileAction extends Action
$this->user->setPassword( $this->getRequestVar('password1') );
$this->addNotice('user',$this->user->name,'SAVED','ok');
}
-
}