Commit graph

7 commits

Author SHA1 Message Date
Drew Blessing
c50b98da72 Centralize LDAP config/filter logic
Centralize all LDAP config logic in `GitLab::LDAP::Config`. Previously,
some logic was in the Devise initializer and it was not honoring the
`user_filter`. If a user outside the configured `user_filter` signed
in, an account would be created but they would then be denied access.
Now that logic is centralized, the filter is honored and users outside
the filter are never created.
2016-11-11 15:58:33 -06:00
quodos
b953796ac8 Update authentication.rb
correct spelling
2015-05-04 14:09:03 +02:00
Douwe Maan
757dca2b78 Escape wildcards when searching LDAP by username. 2015-03-06 13:39:57 +01:00
Jacob Vosmaer
6b2b20af41 Fix LDAP authentication for Git HTTP access 2014-10-23 14:21:58 +02:00
Jan-Willem van der Meer
ab04096c6c Add explaining note to authentication method [skip ci] 2014-10-14 11:16:47 +02:00
Jan-Willem van der Meer
d3056feb11 Make sure the filters are applied 2014-10-14 10:08:47 +02:00
Jan-Willem van der Meer
01b791237c Refactor lib files for multiple LDAP groups 2014-10-13 17:24:05 +02:00