Fix changing changing email and validating new email with bad token

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
Thomas Citharel
2021-03-23 16:38:37 +01:00
parent faa92aebd9
commit 346d6438f8
3 changed files with 58 additions and 1 deletions

View File

@@ -47,6 +47,7 @@ export default class Validate extends Vue {
this.loading = false;
await this.$router.push({ name: RouteName.HOME });
} catch (err) {
this.loading = false;
console.error(err);
this.failed = true;
}