Skip to content

Fix system hook not firing for blocked users when LDAP sign-in is used

Stan Hu requested to merge sh-fix-blocked-user-account-ldap into master

An LDAP sign-in request results in a different request parameter than a standard GitLab sign-in. Since Warden doesn't pass us the user that was blocked, we first search for a username in the request parameters and then look for user.login.

Closes #46307 (closed)

Merge request reports