Skip to content

Commit

Permalink
Standardization of Messaging
Browse files Browse the repository at this point in the history
  • Loading branch information
mitchelsellers committed Aug 13, 2019
1 parent 080afb1 commit 0c37195
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 0c37195

Please sign in to comment.