diff options
Diffstat (limited to 'html/index.html')
-rw-r--r-- | html/index.html | 3 |
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' } } |