MCPcopy Create free account
hub / github.com/dedsec1121fk/DedSec / settings_appearance

Function settings_appearance

Scripts/ButSystem.py:11321–11329  ·  view source on GitHub ↗

Update UI appearance settings (theme style, accent color, font) for the current user.

()

Source from the content-addressed store, hash-verified

11319 if bound and bound != DEVICE_ID:
11320 _mark_fail(ip, username)
11321 flash("This admin profile is bound to a different device.")
11322 return render_template("login.html", title=_("Login"))
11323 # Session capacity (per link/session scope): max 66 users + 1 admin.
11324 try:
11325 sc = current_scope()
11326 if not scope_capacity_ok(username, is_admin, sc):
11327 flash("This session is full (max 66 users + 1 admin). Try again later.")
11328 return render_template("login.html", title=_("Login"))
11329 except Exception:
11330 pass
11331
11332

Callers

nothing calls this directly

Calls 2

current_userFunction · 0.70
set_user_prefsFunction · 0.70

Tested by

no test coverage detected