Separate captcha into the backendInteractor
This commit is contained in:
parent
92de235f4e
commit
a525df32c9
4 changed files with 11 additions and 7 deletions
|
@ -142,6 +142,10 @@ const users = {
|
|||
throw Error(errors)
|
||||
}
|
||||
},
|
||||
async getCaptcha (store) {
|
||||
return await store.rootState.api.backendInteractor.getCaptcha()
|
||||
},
|
||||
|
||||
logout (store) {
|
||||
store.commit('clearCurrentUser')
|
||||
store.commit('setToken', false)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue