diff --git a/src/components/login_form/login_form.js b/src/components/login_form/login_form.js index 1119754eb0..0d76af0e27 100644 --- a/src/components/login_form/login_form.js +++ b/src/components/login_form/login_form.js @@ -23,7 +23,7 @@ const LoginForm = { ...mapMutations('authFlow', ['requireMFA']), ...mapActions({ login: 'authFlow/login' }), submit () { - this.isTokenMethod ? this.submitToken() : this.submitPassword() + this.isTokenAuth ? this.submitToken() : this.submitPassword() }, submitToken () { oauthApi.login({