Skip to content
Snippets Groups Projects
Commit bcbaf5d7 authored by lain's avatar lain
Browse files

Linting.

parent 4d9680e7
No related branches found
No related tags found
No related merge requests found
......@@ -33,10 +33,11 @@ const registration = {
}
oauthApi.getOrCreateApp(data).then((app) => {
oauthApi.getTokenWithCredentials(
{app,
instance: data.instance,
username: this.user.username,
password: this.user.password})
{
app,
instance: data.instance,
username: this.user.username,
password: this.user.password})
.then((result) => {
this.$store.commit('setToken', result.access_token)
this.$store.dispatch('loginUser', result.access_token)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment