Fix #750 , fix error messages and captcha resetting
This commit is contained in:
parent
ac90d4c532
commit
662afe973a
5 changed files with 18 additions and 7 deletions
|
@ -401,7 +401,9 @@ const users = {
|
|||
let rootState = store.rootState
|
||||
|
||||
try {
|
||||
let data = await rootState.api.backendInteractor.register({ ...userInfo })
|
||||
let data = await rootState.api.backendInteractor.register(
|
||||
{ params: { ...userInfo } }
|
||||
)
|
||||
store.commit('signUpSuccess')
|
||||
store.commit('setToken', data.access_token)
|
||||
store.dispatch('loginUser', data.access_token)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue