I need to disable users' ability to change their password, since I am using AD-Pro which manages their password with our AD-system.
What is the best way to hide the 'Change Password" option in Edit Profile?
Thanks
Tom
Tom,
AD-Pro is a third party extension, I would go and ask Glanton for support (https://www.glantonmodules.com/support-ticket)
Beside of that, you could try to find the client ID or style sheet class of the button/area (using developer tools of your browser) and add some style to hide it, for instance in the portal.css or any css file that allows customizations of your skin. Example:
.dnnPasswordDetails .dnnClear { visibility: hidden; display: none; }
Happy DNNing! Michael
Michael TobischDNN★MVP
@Michael, thanks for the quick answer.
The other option is to edit file that is responsible for rendering 'Manage Password' section: ~\DesktopModules\Admin\Security\EditUser.ascx
See here for refeerence: http://doc.glanton.com/AD...sword-change-section
don't forget the "Reset Password" Link on the login form... I did it this way:
#dnn_ctr_Login_Login_DNN_passwordLink { display: none; visibility: hidden; } .dnnLoginActions::after { display: inline; visibility: visible; content: "Password-Reset is not available at the moment."; }
Posted By Barry Waluszko on 06 Mar 2020 05:44 AM @Michael, thanks for the quick answer. The other option is to edit file that is responsible for rendering 'Manage Password' section: ~\DesktopModules\Admin\Security\EditUser.ascx See here for refeerence: http://doc.glanton.com/AD...sword-change-section
FYI - this would be a core code change in DNN and should always be avoided at all costs. It will be overwritten on upgrade and doesn't get reviewed by the DNN TAG team for security and other implications. :)
These Forums are dedicated to the discussion of DNN Platform.
For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:
Awesome! Simply post in the forums using the link below and we'll get you started.