Update UI appearance settings (theme style, accent color, font) for the current user.
()
| 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 |
nothing calls this directly
no test coverage detected