We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0a48089 commit 9e6aaa2Copy full SHA for 9e6aaa2
1 file changed
frontend/src/views/auth/AccountVerified.vue
@@ -29,7 +29,7 @@ export default {
29
async checkToken() {
30
const { token } = this.$route.query;
31
if (!token) {
32
- await this.$router.push('/accounts/verify/error');
+ throw new Error('Invalid token');
33
}
34
},
35
async verifyUser() {
0 commit comments