Skip to content

Fix case sensitivity of email when saving settings - #34629

Merged
PVince81 merged 2 commits into
masterfrom
fix/case-sensitivity-email-ldap
Dec 16, 2022
Merged

Fix case sensitivity of email when saving settings#34629
PVince81 merged 2 commits into
masterfrom
fix/case-sensitivity-email-ldap

Conversation

@CarlSchwan

Copy link
Copy Markdown
Member

Otherwise we detect a email change all the time and since email are immutable in ldap this prevent updating other fields.

Related: #33813

Signed-off-by: Carl Schwan carl@carlschwan.eu

@CarlSchwanCarlSchwan added the 3. to review Waiting for reviews label Oct 17, 2022
@CarlSchwanCarlSchwan self-assigned this Oct 17, 2022
@CarlSchwanCarlSchwan added this to the Nextcloud 26 milestone Oct 17, 2022
@CarlSchwan

Copy link
Copy Markdown
MemberAuthor

/backport to stable25

@CarlSchwan

Copy link
Copy Markdown
MemberAuthor

/backport to stable24

@CarlSchwan

Copy link
Copy Markdown
MemberAuthor

/backport to stable23

@artongeartonge left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Curious, why is #33813 not enough ?

@PVince81PVince81 left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@PVince81

Copy link
Copy Markdown
Member

add a unit test for this ?

CarlSchwanand others added 2 commits December 16, 2022 17:47
Otherwise we detect a email change all the time and since email are
immutable in ldap this prevent updating other fields.
Related: #33813
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
@PVince81
PVince81force-pushed the fix/case-sensitivity-email-ldap branch from ef97425 to f9ea078CompareDecember 16, 2022 16:47
@PVince81

Copy link
Copy Markdown
Member

rebased and added a unit test

@PVince81PVince81 added 4. to release Ready to be released and/or waiting for tests to finish and removed 3. to review Waiting for reviews labels Dec 16, 2022
@PVince81
PVince81 merged commit 346f990 into masterDec 16, 2022
@PVince81
PVince81 deleted the fix/case-sensitivity-email-ldap branch December 16, 2022 21:46
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

4. to releaseReady to be released and/or waiting for tests to finish

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

@CarlSchwan@PVince81@artonge