7 Commits

Author SHA1 Message Date
24d7a86a8d Set IsAdmin using LDAP
The IsAdmin flag is set based on whether the admin filter
returned any result. The admin filter is applied with the user dn
as the search root.

In the future, we should update IsAdmin as well on each login.
Alternately, we can have a periodic sync operation.
2015-08-18 23:49:12 -07:00
7d84d4a8f0 Significantly enhanced LDAP support in Gogs. 2015-08-12 17:01:22 -07:00
182003aa41 Add PAM authentication 2015-04-24 10:13:01 +02:00
211596f407 #1124 LDAP add and edit form are misleading 2015-03-24 19:04:16 -04:00
00653e52ee Get username, name, surname and e-mail from LDAP server 2015-02-08 01:49:51 +02:00
fa241efa6d Use binding middleware 2014-10-15 11:19:20 -04:00
8dd07c0ddd New UI merge in progress 2014-07-26 00:24:27 -04:00