CMDBuild Forum

How to disable Password Recovery?

Hello,
in the login page of cmdbuild/openmaint there is a “I forgot my password” choice for those who have forgotten their password in order to make a password recovery.
In our case, we use LDAP authentication explicitely. So, password recovery through cmdbuild/openmaint is not valid for our users.
How can we disable it???

Thank you in advance

There may be a “right” way to do this, but I managed to hide “I forgot my password” with a CSS hack.

This worked for our site:

span#button-1037-btnInnerEl {
display:none;
}

It may be a different identifier at yours.

1 Like

Thanks, it worked. I added the suggested code in /openmaint/ui/openmaint/resources/CMDBuildUI-all_1.css