From e5e98e932841cf33b2fa7048679e8a82db3bd0ef Mon Sep 17 00:00:00 2001 From: sadnub Date: Thu, 24 Sep 2020 11:23:16 -0400 Subject: [PATCH] change casing on totp setup response --- src/views/TOTPSetup.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/views/TOTPSetup.vue b/src/views/TOTPSetup.vue index 185abcd..90d3bdb 100644 --- a/src/views/TOTPSetup.vue +++ b/src/views/TOTPSetup.vue @@ -52,7 +52,7 @@ export default { .then(r => { this.$q.loading.hide(); - if (r.data === "TOTP token already set") { + if (r.data === "totp token already set") { //don't logout user if totp is already set this.cleared_token = true; this.$router.push({ name: "Login" });