gitlab
Unblock LDAP or Active Directory user in GitLab
If you're running a self-hosted GitLab instance and use LDAP or Active Directory authentication you may notice that sometimes users get "Blocked" and you can't unblock them using the web interface. When this situation occurs, you can unblock them using the gitlab-rails console directly