-
Notifications
You must be signed in to change notification settings - Fork 18
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
Wrong email address, cannot change #93
Comments
Same issue here. |
I wonder if that may not be due to this issue: I have several mail addresses for my main user but other users don't and have their email correctly set. |
I also have several mail addresses for my user 🤔 |
I think I got a workaround or even a fix. I don't warranty about the result. YOU MAY DO A BACKUP BEFORE FOLLOWING THESE STEPS. In # LDAP_DEFAULT_DOMAIN : The default domain of the ldap it is used to create email if the field is not map correctly with the LDAP_SYNC_USER_DATA_FIELDMAP
# example :
#LDAP_DEFAULT_DOMAIN=
+LDAP_DEFAULT_DOMAIN=<YOURDOMAIN.TLD> Then you'll have to purge all users in mongo: $ mongo
> use wekan
> db.users.find({authenticationMethod: "ldap"}) Check that all users are ones from ldap and then > db.users.deleteMany({authenticationMethod: "ldap"})
> quit() Then restart wekan: $ sudo systemctl restart wekan.service Login again using your LDAP account and that should fix your email address. Hope to help! Feedback welcome :-) |
Have you tested with last wekan version? |
I've logged in over LDAP to a ynh version of Wekan. Upon login, I've realized that my email address is wrong - set to "undefined" domain:
I've tried enabling "Allow email change" in the admin settings:
But I can't still edit my email. This is also true for non-ldap accounts.
The text was updated successfully, but these errors were encountered: