diff options
author | alecpl <alec@alec.pl> | 2009-09-19 08:01:55 +0000 |
---|---|---|
committer | alecpl <alec@alec.pl> | 2009-09-19 08:01:55 +0000 |
commit | 0dd842dbf5a63af81fc2abfc884dd9889e59b269 (patch) | |
tree | 35fef97b038da2a10d34800ec3083c25c8fd5ee0 /plugins/password/password.js | |
parent | df7d6f553766a2cecb639f8621858210bde1ea70 (diff) |
- added server side password inconsistency check
Diffstat (limited to 'plugins/password/password.js')
-rw-r--r-- | plugins/password/password.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/password/password.js b/plugins/password/password.js index c3252f031..8a079de2d 100644 --- a/plugins/password/password.js +++ b/plugins/password/password.js @@ -25,7 +25,7 @@ if (window.rcmail) { } else if (input_confpasswd && input_confpasswd.value=='') { alert(rcmail.gettext('nopassword', 'password')); input_confpasswd.focus(); - } else if ((input_newpasswd && input_confpasswd) && (input_newpasswd.value != input_confpasswd.value)) { + } else if (input_newpasswd && input_confpasswd && input_newpasswd.value != input_confpasswd.value) { alert(rcmail.gettext('passwordinconsistency', 'password')); input_newpasswd.focus(); } else { |