summaryrefslogtreecommitdiff
path: root/actions/password.php
diff options
context:
space:
mode:
Diffstat (limited to 'actions/password.php')
-rw-r--r--actions/password.php7
1 files changed, 6 insertions, 1 deletions
diff --git a/actions/password.php b/actions/password.php
index 8f770a969..fe19f5f71 100644
--- a/actions/password.php
+++ b/actions/password.php
@@ -26,7 +26,12 @@ class PasswordAction extends SettingsAction {
function show_form($msg=NULL, $success=false) {
common_show_header(_t('Change password'));
$this->settings_menu();
- $this->message($msg, $success);
+ if ($msg) {
+ $this->message($msg, $success);
+ } else {
+ common_element('div', 'instructions',
+ _t('You can change your password here. Choose a good one!'));
+ }
common_element_start('form', array('method' => 'POST',
'id' => 'password',
'action' =>