Disable Generate Pa...
 
Notifications
Clear all

Disable Generate Password button

3 Posts
2 Users
0 Reactions
758 Views
Posts: 138
Topic starter
(@enguard)
Estimable Member
Joined: 6 years ago

We have lots of customers clicking the generate button and then save, and getting frustrated when they are trying to log back in because they don't realize that it is generating a password.

Is there a way to disable that button or remove it?

2 Replies
Posts: 20
(@nahosting)
Eminent Member
Joined: 8 years ago

We had the same issue. We just deleted the button from the ascx file.

Reply
Posts: 138
Topic starter
(@enguard)
Estimable Member
Joined: 6 years ago

In case anyone needs to know, edit file: path_toSolidCPPortalDesktopModulesSolidCPUserControlsPasswordControl.ascx

Locate line: <asp:HyperLink ID="lnkGenerate" runat="server" NavigateUrl="#" meta:resourcekey="lnkGenerate" CssClass="btn btn-primary btn-sm" Visible="true">
Generate Random Password
</asp:HyperLink>

change visible to "false":

<asp:HyperLink ID="lnkGenerate" runat="server" NavigateUrl="#" meta:resourcekey="lnkGenerate" CssClass="btn btn-primary btn-sm" Visible="false">
Generate Random Password
</asp:HyperLink>

I tried deleting that entire line but got a SolidCP error

Reply
Share: