Merge branch 'hotfix-token-auth' into 'develop'
Fix broken token authentication See merge request pleroma/pleroma-fe!831
This commit is contained in:
commit
1fc460a7a5
|
@ -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({
|
||||
|
|
Loading…
Reference in New Issue