Add automatic token migration

This commit is contained in:
KernelDeimos
2024-04-11 21:33:44 -04:00
parent 09bf422686
commit bb9edc4f65
5 changed files with 74 additions and 9 deletions
+1 -1
View File
@@ -366,7 +366,7 @@ window.initgui = async function(){
}
while(!is_verified)
}
update_auth_data(window.auth_token, whoami);
update_auth_data(whoami.token || window.auth_token, whoami);
// -------------------------------------------------------------------------------------
// Load desktop, only if we're not embedded in a popup