mirror of
https://gitlab.com/RemixDev/deemix-webui.git
synced 2025-01-14 10:35:16 +00:00
Added support for singleUser option
This commit is contained in:
parent
283bb5fa0d
commit
f4f4debf7f
|
@ -58,7 +58,12 @@ async function startApp() {
|
|||
store.dispatch('setSpotifyStatus', spotifyStatus).catch(console.error)
|
||||
|
||||
let arl = localStorage.getItem('arl')
|
||||
const accessToken = localStorage.getItem('accessToken')
|
||||
let accessToken = localStorage.getItem('accessToken')
|
||||
|
||||
if (connectResponse.singleUser) {
|
||||
if (connectResponse.singleUser.arl) arl = connectResponse.singleUser.arl
|
||||
if (connectResponse.singleUser.accessToken) accessToken = connectResponse.singleUser.accessToken
|
||||
}
|
||||
|
||||
if (connectResponse.autologin) {
|
||||
console.info('Autologin')
|
||||
|
|
Loading…
Reference in a new issue