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

New parameter "user_strip_at" to remove @domain from user. #349

Closed
wants to merge 1 commit into from

Conversation

prlw1
Copy link

@prlw1 prlw1 commented Jan 13, 2016

Given a user who configures some clients using a userid and others using an email address, probably because of the clients' differing user interfaces, we found it simplest just to strip the domain from the email address to just use the userid (as they matched) as per this patch.

Comments?

@liZe liZe added the feature label Jan 13, 2016
@liZe liZe modified the milestone: 2.0 Mar 14, 2016
@liZe liZe mentioned this pull request Apr 4, 2016
39 tasks
@liZe
Copy link
Member

liZe commented Jul 30, 2016

@prlw1 Thank you for this pull request.

I understand your needs, but I'm not sure that I want to merge this feature as it is really specific. Now that we have a way to cleanly inherit from the Auth class, it should be really easy for you to create a custom auth module (where you strip the domain) inheriting from the auth module you need.

What do you think of that?

Unrud pushed a commit to Unrud/Radicale that referenced this pull request Aug 30, 2016
This makes it possible to implement Kozea#349 as a Auth module. Another use case would be to encode usernames that contain characters unsupported by the file system.
@liZe
Copy link
Member

liZe commented Aug 31, 2016

We can safely implement this feature in an auth module now thanks to #500.

@liZe liZe closed this Aug 31, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants