summaryrefslogtreecommitdiff
path: root/plugins/password/password.js
diff options
context:
space:
mode:
authoralecpl <alec@alec.pl>2009-09-19 08:01:55 +0000
committeralecpl <alec@alec.pl>2009-09-19 08:01:55 +0000
commit0dd842dbf5a63af81fc2abfc884dd9889e59b269 (patch)
tree35fef97b038da2a10d34800ec3083c25c8fd5ee0 /plugins/password/password.js
parentdf7d6f553766a2cecb639f8621858210bde1ea70 (diff)
- added server side password inconsistency check
Diffstat (limited to 'plugins/password/password.js')
-rw-r--r--plugins/password/password.js2
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 {