PMCORE-1996 Spaces as password is validate but the user can not login again
This commit is contained in:
@@ -108,6 +108,11 @@ var verifyPassword = function() {
|
||||
return;
|
||||
}
|
||||
}
|
||||
//Spaces not supported at the end of passwords
|
||||
if (oPassword1.value.slice(-1) === ' ') {
|
||||
alert('@G::LoadTranslation(ID_PPP_SPACES_NOT_SUPPORTED_AT_THE_END_OF_PASSWORD)');
|
||||
return;
|
||||
}
|
||||
oPassword1.form.submit();
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user