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

Fix ldap server does not return email #399

Merged
merged 1 commit into from
Aug 1, 2024

Conversation

oxconan
Copy link

@oxconan oxconan commented Jul 26, 2024

Some ldap servers don't return user email

When we Authenticate --> PopulateUser first time --> Email will return empty

We will try PopulateUser second time --> Email will return uid@dc

Default email is uid@dc

Signed-off-by: Thu Cao <thu.cao@amperecomputing.com>
@JohnVillalovos
Copy link
Contributor

This fixed an issue we were seeing where we would not have an email and then when it went to write the new user to the database it would fail as the email address is required. With this fix an email is now generated and can then be stored in the database.

@effgarces effgarces merged commit 0a59b86 into LibreBooking:develop Aug 1, 2024
1 check passed
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.

4 participants