forgejo/templates/admin
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
org add some log 2015-11-21 19:11:57 -05:00
repo #1525 Triggere mailer for admin created accounts 2015-09-25 19:45:44 -04:00
user #1511 Allow local import only for admin users 2015-11-03 18:40:52 -05:00
config.tmpl minor fix on #1694 2015-11-21 12:58:31 -05:00
dashboard.tmpl add admin op: delete missing repos 2015-11-18 15:37:48 -05:00
monitor.tmpl new UI on admin/monitor 2015-08-19 00:34:11 +08:00
nav.tmpl Fix #532, add system notice 2014-10-08 18:29:18 -04:00
navbar.tmpl new UI on admin/monitor 2015-08-19 00:34:11 +08:00
notice.tmpl #1525 Triggere mailer for admin created accounts 2015-09-25 19:45:44 -04:00