mirror of
https://github.com/OliveTin/OliveTin
synced 2025-12-13 09:35:37 +00:00
fix: User Information panel and login/logout flow
This commit is contained in:
@@ -83,6 +83,11 @@ async function handleLocalLogin() {
|
||||
window.initError = false
|
||||
window.initErrorMessage = ''
|
||||
window.initCompleted = true
|
||||
|
||||
// Update the header with new user info
|
||||
if (window.updateHeaderFromInit) {
|
||||
window.updateHeaderFromInit()
|
||||
}
|
||||
} catch (initErr) {
|
||||
console.error('Failed to reinitialize after login:', initErr)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user