Added change password to user settings
This commit is contained in:
parent
f06fef26b1
commit
e0ba6a5876
5 changed files with 70 additions and 6 deletions
|
@ -62,6 +62,7 @@ const backendInteractorService = (credentials) => {
|
|||
const followImport = ({params}) => apiService.followImport({params, credentials})
|
||||
|
||||
const deleteAccount = ({password}) => apiService.deleteAccount({credentials, password})
|
||||
const changePassword = ({password, newPassword, newPasswordConfirmation}) => apiService.changePassword({credentials, password, newPassword, newPasswordConfirmation})
|
||||
|
||||
const backendInteractorServiceInstance = {
|
||||
fetchStatus,
|
||||
|
@ -85,7 +86,8 @@ const backendInteractorService = (credentials) => {
|
|||
updateProfile,
|
||||
externalProfile,
|
||||
followImport,
|
||||
deleteAccount
|
||||
deleteAccount,
|
||||
changePassword
|
||||
}
|
||||
|
||||
return backendInteractorServiceInstance
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue