Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow dot (and perhaps other characters) in username #43

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

GeoffreyFrogeye
Copy link

Removed slugify_uniquely method for the username since this led to
username being different from the LDAP DB.

Fixes #15
Fixes #17

Removed slugify_uniquely method for the username since this led to
username being different from the LDAP DB.
veox added a commit to veox/taiga-contrib-ldap-auth-ensky that referenced this pull request Dec 1, 2016
In `ldap_register()`, LDAP binding has already been performed,
and the user is allowed to authenticate. However, the current
logic is to look up the user entry in local DB using the string
from the login form. If the latter fails, creating a new user
is attempted - which might have been already created!

This still does not allow special characters (as in ensky#43, which
can be unsafe), but does address the underlying issue.

Should fix ensky#15, ensky#17, ensky#45, and make ensky#43 obsolete.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant