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']),
|
...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({
|
||||||
|
Loading…
Reference in New Issue
Block a user