Skip to content

Commit

Permalink
Merge branch 'release/9.4.x' into bug/DNN-31366-retargeted9.4.x
Browse files Browse the repository at this point in the history
  • Loading branch information
mitchelsellers authored Aug 13, 2019
2 parents 539c9de + 0c37195 commit 0a098fb
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions Website/admin/Security/SendPassword.ascx.cs
Original file line number Diff line number Diff line change
Expand Up @@ -340,16 +340,6 @@ protected void OnSendPasswordClick(Object sender, EventArgs e)
UI.Skins.Skin.AddModuleMessage(this, message, moduleMessageType);
liSend.Visible = false;
liCancel.Visible = true;

// don't hide panel when e-mail only in use and error occured. We must provide negative feedback to the user, in case he doesn't rember what e-mail address he has used
if (!canSend && _user == null && MembershipProviderConfig.RequiresUniqueEmail && PortalController.GetPortalSettingAsBoolean("Registration_UseEmailAsUserName", PortalId, false))
{
message = Localization.GetString("EmailNotFound", LocalResourceFile);
pnlRecover.Visible = true;
UI.Skins.Skin.AddModuleMessage(this, message, moduleMessageType);
liSend.Visible = true;
liCancel.Visible = true;
}
}
else
{
Expand Down

0 comments on commit 0a098fb

Please sign in to comment.