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

Fix broken token authentication

See merge request pleroma/pleroma-fe!831
This commit is contained in:
HJ 2019-06-13 19:05:05 +00:00
commit 1fc460a7a5

View File

@ -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({