mirror of
https://gitlab.com/RemixDev/deemix-webui.git
synced 2025-01-01 12:26:01 +00:00
Fixed logging in not working on first launch
This commit is contained in:
parent
b99d158085
commit
a9125d7ba9
|
@ -58,9 +58,10 @@ socket.on('logging_in', function () {
|
|||
})
|
||||
|
||||
socket.on('init_autologin', function () {
|
||||
let arl = localStorage.getItem('arl').trim()
|
||||
let arl = localStorage.getItem('arl')
|
||||
let accountNum = localStorage.getItem('accountNum')
|
||||
if (arl){
|
||||
arl = arl.trim()
|
||||
if (accountNum != 0){
|
||||
socket.emit('login', arl, true, accountNum)
|
||||
}else{
|
||||
|
|
Loading…
Reference in a new issue