summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorgumi <git@gumi.ca>2020-03-04 19:22:16 -0500
committergumi <git@gumi.ca>2020-03-04 19:22:16 -0500
commitdd879d3084bcf8a08f35ec0db526e8478a3b2396 (patch)
tree6baae55a351e02e45ed22bcf2f97954fb8345c81
parent60562f674ef0de168399aa5ea613936a53eae547 (diff)
downloadwebsite-dd879d3084bcf8a08f35ec0db526e8478a3b2396.tar.gz
website-dd879d3084bcf8a08f35ec0db526e8478a3b2396.tar.bz2
website-dd879d3084bcf8a08f35ec0db526e8478a3b2396.tar.xz
website-dd879d3084bcf8a08f35ec0db526e8478a3b2396.zip
handle error 425 on account recovery
-rw-r--r--src/views/AccountRecovery.vue4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/views/AccountRecovery.vue b/src/views/AccountRecovery.vue
index 7345f59..a9fca20 100644
--- a/src/views/AccountRecovery.vue
+++ b/src/views/AccountRecovery.vue
@@ -237,6 +237,10 @@ export default class Recovery extends Vue {
case 408:
this.step = -2;
break;
+ case 425:
+ self.alert("An email has already been sent.\nPlease check your inbox and wait before you try again.");
+ document.location.reload();
+ break;
case 429:
self.alert("Too many requests.\nPlease try again later");
document.location.reload();