Add ability to change user's email
This commit is contained in:
parent
326b2416a0
commit
e3381cdef1
7 changed files with 83 additions and 3 deletions
|
|
@ -131,6 +131,7 @@ const backendInteractorService = credentials => {
|
|||
const importFollows = (file) => apiService.importFollows({ file, credentials })
|
||||
|
||||
const deleteAccount = ({ password }) => apiService.deleteAccount({ credentials, password })
|
||||
const changeEmail = ({ email, password }) => apiService.changeEmail({ credentials, email, password })
|
||||
const changePassword = ({ password, newPassword, newPasswordConfirmation }) =>
|
||||
apiService.changePassword({ credentials, password, newPassword, newPasswordConfirmation })
|
||||
|
||||
|
|
@ -195,6 +196,7 @@ const backendInteractorService = credentials => {
|
|||
importBlocks,
|
||||
importFollows,
|
||||
deleteAccount,
|
||||
changeEmail,
|
||||
changePassword,
|
||||
fetchSettingsMFA,
|
||||
generateMfaBackupCodes,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue