diff options
Diffstat (limited to 'web/app/view/dialog/Register.js')
-rw-r--r-- | web/app/view/dialog/Register.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/web/app/view/dialog/Register.js b/web/app/view/dialog/Register.js index fec30683..03b3009b 100644 --- a/web/app/view/dialog/Register.js +++ b/web/app/view/dialog/Register.js @@ -42,9 +42,9 @@ Ext.define('Traccar.view.dialog.Register', { fieldLabel: Strings.userEmail, validator: function (val) { if (/(.+)@(.+){2,}\.(.+){2,}/.test(val)) { - return true; + return true; } else { - return Ext.form.field.VTypes.emailText; + return Ext.form.field.VTypes.emailText; } }, allowBlank: false |