gitroast/modules
Adam Strzelecki 573305f3d3 LDAP: Optional user name attribute specification
Consider following LDAP search query example:

    (&(objectClass=Person)(|(uid=%s)(mail=%s)))

Right now on first login attempt Gogs will use the text supplied on login form
as the newly created user name. In example query above the text matches against
both e-mail or user name. So if user puts the e-mail then the new Gogs user
name will be e-mail which may be undesired.

Using optional user name attribute setting we can explicitly say we want Gogs
user name to be certain LDAP attribute eg. `uid`, so even user will use e-mail
to login 1st time, the new account will receive correct user name.
2015-12-02 00:20:14 +01:00
..
auth LDAP: Optional user name attribute specification 2015-12-02 00:20:14 +01:00
avatar fix #1960 2015-11-16 11:11:59 -05:00
base minor fix markdown post process 2015-11-24 19:29:35 -05:00
bindata finish wiki 2015-11-30 20:45:55 -05:00
cron go vet and fix #1890 2015-11-08 14:31:49 -05:00
git #2008 more supported git hooks 2015-11-24 16:30:47 -05:00
httplib fix insecure tls when trigger task 2015-10-26 09:16:24 -04:00
log fix #864 with migration and update locale 2015-07-26 22:06:28 +08:00
mailer fix import path, fix #1782 2015-10-15 21:28:12 -04:00
middleware Merge pull request #2069 from nanoant/patch/admin-see-all-organizations 2015-11-30 21:18:33 -05:00
process introduce git-shell 2015-11-26 17:33:45 -05:00
setting remove tags redis and memcache 2015-11-21 17:21:22 -05:00
ssh #1681 carry --config flag for builtin SSH 2015-11-30 15:40:05 -05:00
template fix #2020 2015-11-24 18:49:34 -05:00
user Factor out function to get the current user 2015-08-15 10:05:12 +02:00
uuid Add uuid 2014-06-29 16:39:06 -04:00