Skip to content

一分钟搭建影视站,支持Docker等部署方式

fix: remove redundant password protection checks in toggleSettings function

developer4e1cbeed87d1
diff --git a/js/ui.js b/js/ui.js
index db1cf74..180234f 100644
--- a/js/ui.js
+++ b/js/ui.js
@@ -627,9 +627,3 @@ document.addEventListener('DOMContentLoaded', function() {
}
});
});
-
-if (window.isPasswordProtected && window.isPasswordVerified) {
- if (window.isPasswordProtected() && !window.isPasswordVerified()) {
- return;
- }
-}