Skip to content

fix: don't allow empty email even if email change is allowed - #1410

Merged
provokateurin merged 2 commits into
mainfrom
email-change-tweaks
Sep 18, 2025
Merged

fix: don't allow empty email even if email change is allowed#1410
provokateurin merged 2 commits into
mainfrom
email-change-tweaks

Conversation

@icewind1991

Copy link
Copy Markdown
Member

When the email change is allowed (such as when an admin changes it), save a copy of it so when we need to prevent a change, we can set it back to the last value instead of resetting it to the uid.

Signed-off-by: Robin Appelman <robin@icewind.nl>
@icewind1991 icewind1991 added the 3. to review Waiting for reviews label Sep 10, 2025
Comment thread lib/Listener/UserChangedListener.php
Signed-off-by: Robin Appelman <robin@icewind.nl>
@provokateurin
provokateurin merged commit 49c1c20 into main Sep 18, 2025
48 checks passed
@provokateurin
provokateurin deleted the email-change-tweaks branch September 18, 2025 06:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

3. to review Waiting for reviews

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants