Commit 1fc460a7 authored by HJ's avatar HJ 🐼

Merge branch 'hotfix-token-auth' into 'develop'

Fix broken token authentication

See merge request pleroma/pleroma-fe!831
parents 2e77a3ff de2504ad
......@@ -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({
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment