1
0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo.git synced 2024-12-26 13:29:12 -05:00
forgejo/modules
Denis Denisov f0a989c1d0 Correction LDAP validation (#342)
* Correction LDAP username validation

As https://msdn.microsoft.com/en-us/library/aa366101(v=vs.85).aspx describe spaces should not be in start or at the end of username but they can be inside the username. So please check my solution for it.

* Check for zero length passwords in LDAP module.

According to https://tools.ietf.org/search/rfc4513#section-5.1.2 LDAP client should always check before bind whether a password is an empty value. There are at least one LDAP implementation which does not return error if you try to bind with DN set and empty password - AD.

* Clearing the login/email spaces at the [start/end]
2016-12-12 08:46:51 +08:00
..
auth Correction LDAP validation (#342) 2016-12-12 08:46:51 +08:00
avatar golint fixed for modules/avatar 2016-11-25 16:37:04 +08:00
base Golint fixed for modules/setting (#262) 2016-11-27 18:14:25 +08:00
bindata Fix alignment of tooltip and add bindata - related to #359 (#364) 2016-12-08 20:59:47 +08:00
context [API] Pull Requests (#248) 2016-12-02 12:10:39 +01:00
cron golint fixed for modules/cron 2016-11-25 16:19:24 +08:00
highlight Integrate templates into bindata optionally (#314) 2016-12-06 18:58:31 +01:00
httplib Golint fixed for modules/httplib 2016-11-25 14:32:09 +08:00
log Catch os... errors 2016-12-02 07:41:19 +01:00
mailer Golint fixed for modules/mailer 2016-11-25 09:44:04 +08:00
markdown Golint fixed for modules/setting (#262) 2016-11-27 18:14:25 +08:00
process modules/process: add ExecDirEnv (next to ExecDir) 2016-11-27 18:53:57 +08:00
public Integrate templates into bindata optionally (#314) 2016-12-06 18:58:31 +01:00
setting Fixed project name on setting module key APP_NAME 2016-12-02 07:52:27 +01:00
ssh Catch os... errors 2016-12-02 07:41:19 +01:00
sync modules/sync: add UniqueQueue 2016-08-30 15:50:30 -07:00
templates Integrate templates into bindata optionally (#314) 2016-12-06 18:58:31 +01:00
user golint fixed for modules/user 2016-11-24 17:37:11 +08:00