mirror of
https://github.com/icecoder/ICEcoder.git
synced 2026-03-07 00:56:48 +01:00
Only check pw criteria if pw not blank
This commit is contained in:
@@ -540,7 +540,7 @@ const checkCase = function(evt) {
|
||||
// Check if we can submit, else shake requirements
|
||||
const checkCanSubmit = function() {
|
||||
// Password isn't strong enough, shake requirements
|
||||
if(false === pwStrength(get("password").value)) {
|
||||
if("" !== get("password").value && false === pwStrength(get("password").value)) {
|
||||
shake("newPasswordText");
|
||||
shake("password");
|
||||
shake("pwReqs");
|
||||
|
||||
Reference in New Issue
Block a user