mirror of
https://github.com/MrUnknownDE/VRCX.git
synced 2026-04-20 15:23:50 +02:00
Catch canceled prompts
This commit is contained in:
@@ -187,7 +187,7 @@ export function request(endpoint, options) {
|
||||
ElMessageBox.alert(
|
||||
t('api.error.message.vpn_in_use'),
|
||||
`403 ${t('api.error.message.login_error')}`
|
||||
);
|
||||
).catch(() => {});
|
||||
authStore.handleLogoutEvent();
|
||||
$throw(403, endpoint);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user