Handle server error on user page

This commit is contained in:
fred.boniface committed 2026-12-01 13:17:35 +00:00
1 parent 8207f93af9
commit c36bc6a12c
1 file changed
+4 -1
+4 -1
View File
@@ -76,7 +76,10 @@
} catch (err: unknown) {
if (cancelled) return;
if (err instanceof UserApiError && (err.code === 'AUTH' || err.code === 'NOT_FOUND')) {
if (
err instanceof UserApiError &&
(err.code === 'AUTH' || err.code === 'NOT_FOUND' || err.code === 'VALIDATION')
) {
verifiedKey = '';
statusNotice =
'Your saved access key has expired or is no longer valid. Please re-register below.';