Browse Source

fix register

hgh 1 year ago
parent
commit
364db6c04a
1 changed files with 2 additions and 2 deletions
  1. 2 2
      src/components/Auth/LoginComponent.vue

+ 2 - 2
src/components/Auth/LoginComponent.vue

@@ -41,12 +41,12 @@ export default {
   },
   computed: {
     showRegisterComponent() {
-      return this.step === 'register' || this.step === 'sendOtp'
+      return this.step === 'getUsername' || this.step === 'sendOtp'
     }
   },
   methods: {
     goToRegisterStep () {
-      this.step = 'register'
+      this.step = 'getUsername'
     },
     goToSendOtpStep () {
       this.step = 'sendOtp'