We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 2833b4b + 5d0d4a3 commit 5779a65Copy full SHA for 5779a65
1 file changed
Projects/SignIn Page/js/app.js
@@ -67,7 +67,8 @@ function showMessage(RESPONSE) {
67
68
//validate email and key inputs
69
function validate(email, key) {
70
- if (email == '' || key == '') {
+ var contain_space = email.replace(/\s\s+/g," ")
71
+ if (email==" "||"" || key =="" || contain_space.length!==email.length ) {
72
return false;
73
}
74
return true;
0 commit comments