summaryrefslogtreecommitdiff
path: root/src/client
diff options
context:
space:
mode:
Diffstat (limited to 'src/client')
-rw-r--r--src/client/pw_reset.js2
-rw-r--r--src/client/util.js4
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' };
}
}