forgetpassword method

dynamic forgetpassword(
  1. dynamic context
)

Implementation

forgetpassword(context) {
  myLogAll('forgetpassword');
  var email = getValue(gLogin, gEmail, null)[gValue];
  if (email != null && email.length > 0) {
    sendRequestOne(gForgetpassword, email, context);
  } else {
    showMsg(context, getSCurrent(gPlsenteremail), null);
  }
}