ltb-project / service-desk

Application for support team who need to check and reset user passwords
https://service-desk.readthedocs.io/
GNU General Public License v3.0
49 stars 20 forks source link

Lock User feature enabled but the lock botton not showing on dashboard #68

Closed jm0477 closed 1 year ago

jm0477 commented 1 year ago

lock user feature is enabled by set $use_lockaccount = true;

and default policy is applied correctly by set
$ldap_default_ppolicy = "cn=default,ou=ppolicy,dc=example,dc=com";

but on the dashboard. there is a only text shows: Account is not locked

there is no button for lock the user.

btw, unlock botton works fine. Anyone knows how to troubleshoot this issue or shed some light on this please? thanks advance!

jm0477 commented 1 year ago

issue resovled, after enable debug logs, there was a typo in $ldap_default_ppolicy variable. after set the correct $ldap_default_ppolicy, lock user feature works great