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 New Issue
Block a user