diff --git a/src/components/registration/registration.js b/src/components/registration/registration.js index cdcc33c9c4..f7f8a720f1 100644 --- a/src/components/registration/registration.js +++ b/src/components/registration/registration.js @@ -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)