diff options
| author | rr- | 2016-04-06 20:38:45 +0200 |
|---|---|---|
| committer | rr- | 2016-04-06 22:36:04 +0200 |
| commit | 55cc7b59e4a9c23810371fa3fa3895ec8c3a7bf8 (patch) | |
| tree | ba6fb29e9adc2919dc5f7f470a2e1fb739d868a9 /client/js/views/login_view.js | |
| parent | 19a357611bd667e2f443595bb536cda4150c19a8 (diff) | |
client+server: switch to yaml config
Diffstat (limited to 'client/js/views/login_view.js')
| -rw-r--r-- | client/js/views/login_view.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/client/js/views/login_view.js b/client/js/views/login_view.js index 2f24053..3708e65 100644 --- a/client/js/views/login_view.js +++ b/client/js/views/login_view.js @@ -17,8 +17,8 @@ class LoginView extends BaseView { const userNameField = document.getElementById('user-name'); const passwordField = document.getElementById('user-password'); const rememberUserField = document.getElementById('remember-user'); - userNameField.setAttribute('pattern', config.service.userNameRegex); - passwordField.setAttribute('pattern', config.service.passwordRegex); + userNameField.setAttribute('pattern', config.userNameRegex); + passwordField.setAttribute('pattern', config.passwordRegex); form.addEventListener('submit', e => { e.preventDefault(); |