aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoger Braun <roger@rogerbraun.net>2018-11-06 21:51:22 +0100
committerRoger Braun <roger@rogerbraun.net>2018-11-06 21:51:22 +0100
commitbcbaf5d7ee970a1bd35e05ad12f4dfbb00f4282e (patch)
treea735dcb7a5ebb5e39da2959f322daa23efe70658
parent4d9680e79734c38cbc0343053523fbdccb002f6e (diff)
Linting.
-rw-r--r--src/components/registration/registration.js9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/components/registration/registration.js b/src/components/registration/registration.js
index cdcc33c9..f7f8a720 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)