[GH-ISSUE #1093] [BUG] Attribute "mail" is required for new users #392

Closed
opened 2026-02-27 08:17:03 +03:00 by kerem · 4 comments
Owner

Originally created by @helmut72 on GitHub (Feb 1, 2025).
Original GitHub issue: https://github.com/lldap/lldap/issues/1093

Describe the bug
Attribute "mail" is required for new users. Mail isn't a required attribute in LDAP.

To Reproduce
Steps to reproduce the behavior:

  1. Add new user, but not add a mail address
  2. Try to save

Expected behavior
New users can be saved without mail address.

Originally created by @helmut72 on GitHub (Feb 1, 2025). Original GitHub issue: https://github.com/lldap/lldap/issues/1093 **Describe the bug** Attribute "mail" is required for new users. Mail isn't a required attribute in LDAP. **To Reproduce** Steps to reproduce the behavior: 1. Add new user, but not add a mail address 2. Try to save **Expected behavior** New users can be saved without mail address.
kerem 2026-02-27 08:17:03 +03:00
  • closed this issue
  • added the
    bug
    label
Author
Owner

@nitnelave commented on GitHub (Feb 1, 2025):

Yes, that's intended, so you can send a password recovery email. You can always put an invalid email, it's not checked.

It's an intended bit of UX friction to encourage you to set an email.

<!-- gh-comment-id:2629054560 --> @nitnelave commented on GitHub (Feb 1, 2025): Yes, that's intended, so you can send a password recovery email. You can always put an invalid email, it's not checked. It's an intended bit of UX friction to encourage you to set an email.
Author
Owner

@helmut72 commented on GitHub (Feb 1, 2025):

It's an intended bit of UX friction

Just in the UI? This means I can create for example service users via API without mail address? Need to look at it tomorrow, too late now.

<!-- gh-comment-id:2629139476 --> @helmut72 commented on GitHub (Feb 1, 2025): > It's an intended bit of UX friction Just in the UI? This means I can create for example service users via API without mail address? Need to look at it tomorrow, too late now.
Author
Owner

@nitnelave commented on GitHub (Feb 1, 2025):

UX, not UI, so no, you can't create users without emails

<!-- gh-comment-id:2629139936 --> @nitnelave commented on GitHub (Feb 1, 2025): UX, not UI, so no, you can't create users without emails
Author
Owner

@helmut72 commented on GitHub (Feb 1, 2025):

Ok,, thanks for the fast answer.

An wrong address is the same as no address. Would be cool to have no mail address as an option. Think about it in silent minute.

All of my service users never need password recovery.

<!-- gh-comment-id:2629142427 --> @helmut72 commented on GitHub (Feb 1, 2025): Ok,, thanks for the fast answer. An wrong address is the same as no address. Would be cool to have no mail address as an option. Think about it in silent minute. All of my service users never need password recovery.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/lldap-lldap#392
No description provided.