aboutsummaryrefslogtreecommitdiff
path: root/actions/user/password.php
diff options
context:
space:
mode:
Diffstat (limited to 'actions/user/password.php')
-rw-r--r--actions/user/password.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/actions/user/password.php b/actions/user/password.php
index ec3252644..c53188a00 100644
--- a/actions/user/password.php
+++ b/actions/user/password.php
@@ -35,13 +35,13 @@
if ($user->save())
system_message(elgg_echo('user:password:success'));
else
- system_message(elgg_echo('user:password:fail'));
+ register_error(elgg_echo('user:password:fail'));
}
else
- system_message(elgg_echo('user:password:fail:notsame'));
+ register_error(elgg_echo('user:password:fail:notsame'));
}
else
- system_message(elgg_echo('user:password:fail:tooshort'));
+ register_error(elgg_echo('user:password:fail:tooshort'));
}
//forward($_SERVER['HTTP_REFERER']);