MCPcopy Create free account
hub / github.com/error311/FileRise / updateLoginOptionsUIFromStorage

Function updateLoginOptionsUIFromStorage

public/js/auth.js:257–264  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

255}
256
257function updateLoginOptionsUIFromStorage() {
258 updateLoginOptionsUI({
259 disableFormLogin: localStorage.getItem("disableFormLogin") === "true",
260 disableBasicAuth: localStorage.getItem("disableBasicAuth") === "true",
261 disableOIDCLogin: localStorage.getItem("disableOIDCLogin") === "true",
262 authBypass: localStorage.getItem("authBypass") === "true"
263 });
264}
265
266export function loadAdminConfigFunc() {
267 if (window.__FR_SITE_CFG_PROMISE) return window.__FR_SITE_CFG_PROMISE;

Callers 3

loadAdminConfigFuncFunction · 0.85
updateAuthenticatedUIFunction · 0.85
checkAuthenticationFunction · 0.85

Calls 1

updateLoginOptionsUIFunction · 0.85

Tested by

no test coverage detected