f0a989c1d0
* 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] |
||
---|---|---|
.. | ||
migrations | ||
access.go | ||
action.go | ||
admin.go | ||
error.go | ||
git_diff.go | ||
git_diff_test.go | ||
issue.go | ||
issue_comment.go | ||
issue_label.go | ||
issue_mail.go | ||
login_source.go | ||
mail.go | ||
models.go | ||
models_sqlite.go | ||
models_test.go | ||
models_tidb.go | ||
org.go | ||
org_team.go | ||
pull.go | ||
release.go | ||
repo.go | ||
repo_branch.go | ||
repo_collaboration.go | ||
repo_editor.go | ||
repo_mirror.go | ||
repo_test.go | ||
ssh_key.go | ||
ssh_key_test.go | ||
token.go | ||
update.go | ||
user.go | ||
user_mail.go | ||
webhook.go | ||
webhook_slack.go | ||
wiki.go |