diff options
author | Matthew Somerville <matthew-github@dracos.co.uk> | 2018-02-06 17:03:46 +0000 |
---|---|---|
committer | Matthew Somerville <matthew-github@dracos.co.uk> | 2018-02-06 22:53:30 +0000 |
commit | 1e301bf1e07daf35150d54b132bbbe66f0a8095e (patch) | |
tree | eb7fa1be4b978cb16b70b7346aa100627e3ebc07 /web/js/validation_rules.js | |
parent | 6edf79cb0ecd150ea0f054c8faa7be0b055fc2d0 (diff) | |
parent | 3e201f8d48554ab8c4b8132eaa50b5fe7dd1d67e (diff) |
Merge branch 'password-tests'
Diffstat (limited to 'web/js/validation_rules.js')
-rw-r--r-- | web/js/validation_rules.js | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/web/js/validation_rules.js b/web/js/validation_rules.js index 5295a53ca..e6d745336 100644 --- a/web/js/validation_rules.js +++ b/web/js/validation_rules.js @@ -1,5 +1,11 @@ validation_rules = { title: { required: true }, detail: { required: true }, - update: { required: true } + update: { required: true }, + password_register: { + remote: { + url: '/auth/common_password', + type: 'post' + } + } }; |