mirror of
https://gitlab.com/RemixDev/deemix-gui.git
synced 2025-01-30 02:08:32 +00:00
fixed login with incorrect email and password
This commit is contained in:
parent
af11277aa6
commit
70a6584129
|
@ -9,6 +9,7 @@ const handler: ApiHandler['handler'] = async (req, res) => {
|
|||
|
||||
if (!accessToken) {
|
||||
accessToken = await getAccessToken(email, password)
|
||||
if (accessToken === 'undefined') accessToken = undefined
|
||||
}
|
||||
let arl
|
||||
if (accessToken) arl = await getArlFromAccessToken(accessToken)
|
||||
|
|
Loading…
Reference in a new issue