Skip to content

Commit 9e6aaa2

Browse files
committed
verification error prevent double redirect to error page
1 parent 0a48089 commit 9e6aaa2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

frontend/src/views/auth/AccountVerified.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ export default {
2929
async checkToken() {
3030
const { token } = this.$route.query;
3131
if (!token) {
32-
await this.$router.push('/accounts/verify/error');
32+
throw new Error('Invalid token');
3333
}
3434
},
3535
async verifyUser() {

0 commit comments

Comments
 (0)