fix(profile): stabilize binding compatibility and frontend checks
This commit is contained in:
@@ -613,8 +613,12 @@ async function handleBindCurrentAccount() {
|
||||
return
|
||||
}
|
||||
|
||||
await prepareOAuthBindAccessTokenCookie()
|
||||
window.location.href = startURL
|
||||
try {
|
||||
await prepareOAuthBindAccessTokenCookie()
|
||||
window.location.href = startURL
|
||||
} catch (e: unknown) {
|
||||
errorMessage.value = getRequestErrorMessage(e, t('auth.loginFailed'))
|
||||
}
|
||||
}
|
||||
|
||||
async function handleExistingAccountBinding() {
|
||||
|
||||
Reference in New Issue
Block a user