recoverPassword method

Future<bool> recoverPassword(
  1. String email
)

Implementation

Future<bool> recoverPassword(String email) async {
  var req = await HttpRequest().httpRequest(
      HttpIntent("auth/forgot_password", {"email": email}),
      context: context,
      method: HttpMethod.post,
      "Richiedo reset password...",
      dialog: dialog);
  if (!elaborateResponse(req)) {
    return false;
  }

  return true;
}