diff options
| author | LV-426 <lv-426@taproot.org.il> | 2015-04-05 14:56:31 +0300 |
|---|---|---|
| committer | LV-426 <lv-426@taproot.org.il> | 2015-04-05 14:57:44 +0300 |
| commit | a16dea8dd45f54240d44bdade242d278da5b7fa0 (patch) | |
| tree | cec43eed7efa7d181214187ea8dd1e19017a3663 | |
| parent | d1202ab2958a8c06aac99a6c20656d2e054716f6 (diff) | |
misc
| -rw-r--r-- | src/client/pw_reset.js | 2 | ||||
| -rw-r--r-- | src/client/util.js | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/client/pw_reset.js b/src/client/pw_reset.js index 78c854c9..ffdeb0ad 100644 --- a/src/client/pw_reset.js +++ b/src/client/pw_reset.js @@ -48,7 +48,7 @@ define('pw_reset__submit_new_pw', ['jquery', 'util', 'pw_reset__common'], functi msg_row.children().remove(); util.input_validation__password($('#pw_reset_form__password_first').val(), - $('#pw_reset_form__password_second').val()) + $('#pw_reset_form__password_second').val()); msg_row.hide(); } catch(e) { diff --git a/src/client/util.js b/src/client/util.js index 20dff15a..763623af 100644 --- a/src/client/util.js +++ b/src/client/util.js @@ -76,10 +76,10 @@ define(['jquery'], function($) { function input_validation__password(password_first, password_second) { if (password_first != password_second) { - throw { message: 'passwords do not match' } + throw { message: 'Passwords do not match' }; } if (password_first.length < 8) { - throw { message: 'password too short - must be at least 8 charachters long' } + throw { message: 'Password too short - must be at least 8 charachters long' }; } } |
