new commit

This commit is contained in:
2025-05-09 00:00:55 +02:00
parent 4f01013d42
commit bf9406f924
11 changed files with 46 additions and 96 deletions

View File

@@ -18,13 +18,4 @@ system.result("auth::microsoft", () => {
system.result("auth::refresh", () => {
selectLoginType("select")
})
window.onload = () => {
if (localStorage.getItem("user")) {
system.call("auth::refresh", {
user: JSON.parse(localStorage.getItem("user"))
})
selectLoginType("token")
}
}
})