Skip to content

Commit 1c9ae1d

Browse files
committed
show link-invalid when using disabled user token
1 parent 52e73a7 commit 1c9ae1d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

web/src/routes/password-reset.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ export const Route = createFileRoute('/password-reset')({
2121
})
2222
.catch((e: ErrorResponse) => {
2323
console.error(e);
24-
if (e.response?.status === 401) {
24+
if (e.response?.status === 401 || e.response?.status === 403) {
2525
throw redirect({
2626
to: '/link-invalid',
2727
replace: true,

0 commit comments

Comments
 (0)