Skip to main content

Hi all, does anyone know if it’s possible to remove the unhide password field from the log in page? I have been looking into knowledge articles but can’t find the answer or the setting in advanced settings.

 

you'll likely need some CSS to do this...there are no options I can think of that would allow you to do with the Docebo settings.


You might try this - it worked for me.

Only suggestion I might offer on this is that your numeric indication might be different.

/** Hide the View Password Eyeball on Login Page **/
/** Note the zero in the ID **/
/** Possibly different for each platform. May need to verify. **/

#ui-button-icon-0 {
display: none;
}

/** End Hide the View Password Eyeball on Login Page **/

As always - test to verify that other portions of your platform are not affected by the change.


We used the following code for that:
 
div.forgot-password .dcb-ui-button-link{
display: none;
}

As rightfully mentioned by @gstager , you should try it and check if it works. 🙂

Two additional notes:

  • The page “/learn/forgot-password” remains available
  • You need to be aware that making functional changes using CSS is not considered good practice. If there are changes to classes or ids, your CSS might not work as expected anymore. And that happens, also on Docebo, so keep it in mind while doing these changes.

Please don’t understand this as “you should not do this”, but be aware of risks that are associated with this. We are also using CSS for certain functions, but we are aware of the risks. 😉


Reply