update
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
import { apiAction } from './api.js';
|
||||
import { initUserPanel, initAccountPage } from './ui-user.js';
|
||||
import { initBridgeSetupPage } from './bridge-setup-page.js';
|
||||
import { mountLogoutButton, ensureFloatingLogout } from './ui-auth.js';
|
||||
|
||||
async function ensureAuthenticated() {
|
||||
@@ -24,6 +25,7 @@ document.addEventListener('DOMContentLoaded', async () => {
|
||||
if (!ok) return;
|
||||
initUserPanel();
|
||||
initAccountPage();
|
||||
initBridgeSetupPage();
|
||||
mountLogoutButton('#btn-logout', { redirect: '/login.php' });
|
||||
ensureFloatingLogout({ redirect: '/login.php' });
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user