From 8e01faad100a1315cc35e63c90518a09c7b39693 Mon Sep 17 00:00:00 2001 From: mattpass Date: Thu, 8 Apr 2021 16:23:18 +0100 Subject: [PATCH] Only check pw criteria if pw not blank --- lib/settings-screen.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/settings-screen.php b/lib/settings-screen.php index 374c61d..088694b 100644 --- a/lib/settings-screen.php +++ b/lib/settings-screen.php @@ -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");