このコミットが含まれているのは:
Roger Braun 2018-11-06 21:51:22 +01:00
コミット bcbaf5d7ee
1個のファイルの変更5行の追加4行の削除

ファイルの表示

@ -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)