summaryrefslogtreecommitdiff
path: root/app/php/controls/PasswordChange.php
diff options
context:
space:
mode:
Diffstat (limited to 'app/php/controls/PasswordChange.php')
-rw-r--r--app/php/controls/PasswordChange.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/app/php/controls/PasswordChange.php b/app/php/controls/PasswordChange.php
index 0f0300c..45ce656 100644
--- a/app/php/controls/PasswordChange.php
+++ b/app/php/controls/PasswordChange.php
@@ -14,7 +14,9 @@ class PasswordChange extends FacadeTemplateControl {
public function setUserToChange(DbUser $user) {
if ($user->IsGuest && !$this->Page->IsCallBack) {
throw new TInvalidDataValueException(
- 'Password change impossible for guest user'
+ Prado::localize(
+ 'Password change impossible for guest user'
+ )
);
}
$this->setControlState('user', $user);