forked from AkkomaGang/akkoma-fe
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
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue