This commit is contained in:
taehoon 2019-06-13 15:00:13 -04:00
parent 2e77a3ffef
commit de2504ad6c
1 changed files with 1 additions and 1 deletions

View File

@ -23,7 +23,7 @@ const LoginForm = {
...mapMutations('authFlow', ['requireMFA']), ...mapMutations('authFlow', ['requireMFA']),
...mapActions({ login: 'authFlow/login' }), ...mapActions({ login: 'authFlow/login' }),
submit () { submit () {
this.isTokenMethod ? this.submitToken() : this.submitPassword() this.isTokenAuth ? this.submitToken() : this.submitPassword()
}, },
submitToken () { submitToken () {
oauthApi.login({ oauthApi.login({