How to hide the change password option for readers?

Prev Next

Plans supporting this feature: Business Enterprise

In some cases, you would want to restrict the readers from changing the password. Utilize the below workaround in such scenarios.


Solution

  1. Navigate to Settings () > Knowledge base site > Customize site > Custom CSS & JavaScript in the Knowledge base portal.

  2. Paste the below code snippet in the CSS tab.

header .header_top .user-dropdown-content .user-detail .portal-link a, header .header_top .user-dropdown-content .user-detail .portal-link .changePassword{ 
   display:none; 
 } 
.nav-bar-profile button.dropdown-item:nth-of-type(2) {
    display: none !important;
}
  1. Click Save.

NOTE

This change applies to all the readers.


Outcome

Before

The change password option was available for the readers.
13_Screenshot-Before_change_password

After

The change password option has been removed for the readers.
12_Screenshot-After_change_password