handle http 400 properly
This commit is contained in:
parent
2039a0a554
commit
04703cc7e5
@ -66,7 +66,7 @@ export async function walkFetch(request: Request): Promise<any> {
|
||||
text: t('general.csrf'),
|
||||
})
|
||||
return
|
||||
} else if (response.status === 403) {
|
||||
} else if (response.status === 403 || response.status === 400) {
|
||||
showModal({
|
||||
mode: 'alert',
|
||||
text: message,
|
||||
|
Loading…
Reference in New Issue
Block a user