change casing on totp setup response

This commit is contained in:
sadnub
2020-09-24 11:23:16 -04:00
parent 9b3802956a
commit e5e98e9328

View File

@@ -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" });