MAPG-151 check email address validity on server side

This commit is contained in:
bence committed 2020-06-18 16:12:40 +02:00
1 parent efccb2dcc5
commit 50c7e3972c
2 files changed
+8

No files matched your search

+3
View File
@@ -14,6 +14,9 @@
if (this.response.error) {
var errorText;
switch (this.response.error) {
case 'email_not_valid':
errorText = 'The given email address is not valid.'
break;
case 'passwords_too_short':
errorText = 'The given password is too short. Please choose a password that is at least 6 characters long!'
break;