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

Duplicate email can still add new users #37659

Closed
6 of 9 tasks
hongtring opened this issue Apr 10, 2023 · 3 comments
Closed
6 of 9 tasks

Duplicate email can still add new users #37659

hongtring opened this issue Apr 10, 2023 · 3 comments
Labels
0. Needs triage Pending check for reproducibility or if it fits our roadmap 25-feedback enhancement feature: users and groups

Comments

@hongtring
Copy link

⚠️ This issue respects the following points: ⚠️

  • This is a bug, not a question or a configuration/webserver/proxy issue.
  • This issue is not already reported on Github (I've searched it).
  • Nextcloud Server is up to date. See Maintenance and Release Schedule for supported versions.
  • Nextcloud Server is running on 64bit capable CPU, PHP and OS.
  • I agree to follow Nextcloud's Code of Conduct.

Bug description

Duplicate email can still add new users

Steps to reproduce

  1. Sign in
  2. Profile Admin > Users
  3. Add new user
  4. Duplicate email already on the system
  5. Save

Expected behavior

One Email can only register 1 account

Installation method

Community Manual installation with Archive

Nextcloud Server version

25

Operating system

Debian/Ubuntu

PHP engine version

PHP 8.1

Web server

Apache (supported)

Database engine version

MariaDB

Is this bug present after an update or on a fresh install?

Fresh Nextcloud Server install

Are you using the Nextcloud Server Encryption module?

Encryption is Disabled

What user-backends are you using?

  • Default user-backend (database)
  • LDAP/ Active Directory
  • SSO - SAML
  • Other

Configuration report

.

List of activated Apps

.

Nextcloud Signing status

No response

Nextcloud Logs

No response

Additional info

No response

@hongtring hongtring added 0. Needs triage Pending check for reproducibility or if it fits our roadmap bug labels Apr 10, 2023
@solracsf
Copy link
Member

Nextcloud allows one unique username, not one unique email. To accomplish that, set the username == email.

@solracsf solracsf removed the bug label Apr 10, 2023
@solracsf solracsf changed the title [Bug]: Duplicate email can still add new users Duplicate email can still add new users Apr 10, 2023
@pierreozoux
Copy link
Member

I just spent several hours to debug a cal issue due to a duplicate email. I think Nextcloud should enforce unique email, or at least this could be an option.

@joshtrichards
Copy link
Member

Duplicate of #17146

@joshtrichards joshtrichards marked this as a duplicate of #17146 Sep 22, 2024
@joshtrichards joshtrichards closed this as not planned Won't fix, can't repro, duplicate, stale Sep 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
0. Needs triage Pending check for reproducibility or if it fits our roadmap 25-feedback enhancement feature: users and groups
Projects
None yet
Development

No branches or pull requests

5 participants