-
Notifications
You must be signed in to change notification settings - Fork 66
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
Automatically set user email and display name #12
Comments
Yes, this would be possible! |
related to #10 |
@violoncelloCH Can you point out where to start? Which file to edit. |
hi @benkees Lines 146 to 194 in f5629eb
Line 106 in f5629eb
for reference in nextcloud/server especially this function in the IUser interface seems to be relevant: https://github.com/nextcloud/server/blob/906348ca145058c68f66237de487436575570a44/lib/public/IUser.php#L188-L195 don't hesitate to ask further questions :) (I hope I'll manage to answer them faster now as I've a little more spare time the coming weeks) |
sorry, didn't mean to close it 🙃 |
If 'stripeDomain' is FALSE, we can set the email in lib/imap.php pretty simply:
However, a "full" implementation would support the situation where 'stripeDomain' is TRUE, or the situation where the email address is different than the authenticating domain - which I see either requiring new configuration options or making assumptions that might be wrong for some users.
With apologies for the pseudo-code -
|
I'm happy to test out solutions to this issue, as it fits a local use case. Can we produce a PR from the snippets given here, and iterate from there? |
fine with me, @almereyda |
Would that feature work together with the Nextcloud Mail app so that new user e.g. automatically get access to their E-Mails? |
@almereyda any updates? |
As far as I can see there is currently no PR associated to this issue. |
When using External User Backend with IMAP the display name is set as the email address and the user's email is not set. Can we add the ability to set the display name as the name before the @ in the email address and the user's email address automatically setup?
The text was updated successfully, but these errors were encountered: