aboutsummaryrefslogtreecommitdiff
path: root/html/index.html
diff options
context:
space:
mode:
authorgrant-kun <[email protected]>2022-10-31 09:56:36 -0500
committergrant-kun <[email protected]>2022-10-31 09:56:36 -0500
commitb79f3023b3c604a682ff1e3e385c4a40f6f1d978 (patch)
treefbc73f7b212fb1d89f363d6f36a12f161ae153d2 /html/index.html
parent032266f5db33a95af25ee81d8beba74ac68858da (diff)
update
Diffstat (limited to 'html/index.html')
-rw-r--r--html/index.html3
1 files changed, 2 insertions, 1 deletions
diff --git a/html/index.html b/html/index.html
index 04d4c9f..a7d013e 100644
--- a/html/index.html
+++ b/html/index.html
@@ -134,7 +134,8 @@
//console.log(JSON.parse(decc))
let u = await document.getElementById('user').value
await setCookie('login_key', JSON.parse(decc).login_key, 7)
- await setCookie('user', u, 7)
+ await setCookie('user', JSON.parse(decc).alias, 7)
+ //await setCookie('user', u, 7)
location.href = location.href + 'home'
}
}