f2d35ca792
- JWT secret auto-generates and persists to <STORAGE_PATH>/.jwt_secret - Remove setup token: first admin setup is open until system initialized - Fix schema.sql: move CREATE EXTENSION pg_trgm/ltree to top - Update login UI and auth.js to remove setup token fields
4 lines
238 B
JavaScript
Executable File
4 lines
238 B
JavaScript
Executable File
// Apply saved theme immediately (render-blocking) to prevent FOUC.
|
|
// This file MUST be loaded without "defer" or "async".
|
|
if(localStorage.getItem('oxicloud_theme')==='dark')document.documentElement.setAttribute('data-theme','dark');
|