forked from AkkomaGang/akkoma-fe
Linting.
This commit is contained in:
parent
4d9680e797
commit
bcbaf5d7ee
1 changed files with 5 additions and 4 deletions
|
@ -33,10 +33,11 @@ const registration = {
|
||||||
}
|
}
|
||||||
oauthApi.getOrCreateApp(data).then((app) => {
|
oauthApi.getOrCreateApp(data).then((app) => {
|
||||||
oauthApi.getTokenWithCredentials(
|
oauthApi.getTokenWithCredentials(
|
||||||
{app,
|
{
|
||||||
instance: data.instance,
|
app,
|
||||||
username: this.user.username,
|
instance: data.instance,
|
||||||
password: this.user.password})
|
username: this.user.username,
|
||||||
|
password: this.user.password})
|
||||||
.then((result) => {
|
.then((result) => {
|
||||||
this.$store.commit('setToken', result.access_token)
|
this.$store.commit('setToken', result.access_token)
|
||||||
this.$store.dispatch('loginUser', result.access_token)
|
this.$store.dispatch('loginUser', result.access_token)
|
||||||
|
|
Loading…
Reference in a new issue