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(provisioning_api): Don't allow to configure the same additional e… #37385

Conversation

nickvergessen
Copy link
Member

…mail multiple times

Before After
Bildschirmfoto vom 2023-03-24 12-36-46 Bildschirmfoto vom 2023-03-24 12-35-46

Editing one of the duplicated entries removed duplicates

Checklist

@nickvergessen nickvergessen added this to the Nextcloud 27 milestone Mar 24, 2023
@nickvergessen nickvergessen requested review from blizzz and a team March 24, 2023 11:38
@nickvergessen nickvergessen self-assigned this Mar 24, 2023
@nickvergessen nickvergessen requested review from ArtificialOwl and icewind1991 and removed request for a team March 24, 2023 11:38
@max-nextcloud
Copy link
Contributor

max-nextcloud commented Apr 26, 2023

I wonder if one could alter the email address in ways that create a different string but still result in the same email address:
me+some-mail-servers-ignore-this@nextcloud.com
or Me@nextcloud.com and me@Nextcloud.com

…mail multiple times

Signed-off-by: Joas Schilling <coding@schilljs.com>
@nickvergessen nickvergessen force-pushed the bugfix/noid/dont-allow-adding-the-same-email-multiple-times branch from d90374c to 1c0aae9 Compare April 26, 2023 06:49
@nickvergessen
Copy link
Member Author

Can not reproduce the CI failure locally, so rebased to see if that solves it

@nickvergessen
Copy link
Member Author

Okay, tests are not isolated in server. executing the full file makes it fail, so fixing now

The integration tests are not isolated, so we can not reuse previously used data

Signed-off-by: Joas Schilling <coding@schilljs.com>
@skjnldsv skjnldsv mentioned this pull request May 3, 2023
@nickvergessen nickvergessen merged commit 8013bc9 into master May 3, 2023
@nickvergessen nickvergessen deleted the bugfix/noid/dont-allow-adding-the-same-email-multiple-times branch May 3, 2023 09:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants