Skip to content

Assign `@user` to the GitLab User object during LDAP login

Robert Speicher requested to merge rs-issue-229 into master

Prior, we assigned it to the Gitlab::LDAP::User object which delegated some methods to the internal gl_user object, but not everything, which caused a 500 error when a view expected it to behave the same, for example by responding to avatar_url.

Closes https://gitlab.com/gitlab-org/gitlab-ee/issues/229

Merge request reports