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

Disable Primary Key for E-Mail #3285

Open
mkrischer opened this issue May 2, 2023 · 1 comment
Open

Disable Primary Key for E-Mail #3285

mkrischer opened this issue May 2, 2023 · 1 comment

Comments

@mkrischer
Copy link

Hello,

i would like to add a feature request to remove the "primary_key" from the e-mail attribute (via option).

Our users come via LDAP and it is allowed to have multiple users with the same company mail-address. If they try to register/login to gitbucket, I get a misguiding

"[qtp7135120-16] INFO g.core.service.AccountService - Failed to authenticate: (username)"

error.

@aadrian
Copy link
Member

aadrian commented May 2, 2023

@mkrischer

i would like to add a feature request to remove the "primary_key" from the e-mail attribute

That would not be a feature, but a bug that would break everything.
The email address is used to identify a user: in GitBucket, GitHub, GitLab and many such systems.

Our users come via LDAP and it is allowed to have multiple users with the same company mail-address

Most companies have the other way around: a user can have multiple email addresses. Without that, one can't identify the user by email.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants