summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--actions/recoverpassword.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/actions/recoverpassword.php b/actions/recoverpassword.php
index 4d1dd6f44..9be3c4580 100644
--- a/actions/recoverpassword.php
+++ b/actions/recoverpassword.php
@@ -82,7 +82,7 @@ class RecoverpasswordAction extends Action {
function show_top($msg=NULL) {
if ($msg) {
- $this->message($msg, $success);
+ common_element('div', 'error', $msg);
} else {
common_element('div', 'instructions',
_t('If you\'ve forgotten or lost your' .
@@ -94,7 +94,7 @@ class RecoverpasswordAction extends Action {
function show_password_top($msg=NULL) {
if ($msg) {
- $this->message($msg, $success);
+ common_element('div', 'error', $msg);
} else {
common_element('div', 'instructions',
_t('You\ve been identified . Enter a ' .