deactivateAccount = async (password, hidePrompt) => {
  let action = new Action('.prompt-done')

  action.start('Deactivating..')
  wait()

  let {
    data: { mssg, success },
  } = await post('/user/deactivate-account', { password })

  action.end('Deactivate')

  Notify({
    value: mssg,
    done: () => {
      success ? (location.href = '/login') : hidePrompt()
    },
  })
}
Change user's password
@param {String} password User's password