Skip to content

Conversation

@artonge
Copy link
Contributor

@artonge artonge commented Apr 24, 2023

Manual backport of #37717

@artonge artonge added this to the Nextcloud 26.0.2 milestone Apr 24, 2023
@artonge artonge requested a review from a team April 24, 2023 13:13
@artonge artonge self-assigned this Apr 24, 2023
@artonge artonge requested review from ArtificialOwl, blizzz and icewind1991 and removed request for a team April 24, 2023 13:13
@artonge
Copy link
Contributor Author

artonge commented Apr 25, 2023

/rebase

artonge added 2 commits April 25, 2023 07:49
When login in with SAML, the password from `$event->getPassword()` is `null`.

This PR makes sure that this `null` value won't be used to override the stored password even though it is different.

This PR also allow for the password and user to be updated even though they were not set before.

Signed-off-by: Louis Chemineau <[email protected]>
Signed-off-by: Louis Chemineau <[email protected]>
@nextcloud-command nextcloud-command force-pushed the backport/stable26/artonge/fix/dont_override_stored_credentials_with_saml branch from 81cfb98 to a395cde Compare April 25, 2023 07:50
@artonge artonge requested review from a team and come-nc April 25, 2023 09:07
@artonge artonge enabled auto-merge April 26, 2023 07:45
@artonge artonge merged commit 748f960 into stable26 Apr 26, 2023
@artonge artonge deleted the backport/stable26/artonge/fix/dont_override_stored_credentials_with_saml branch April 26, 2023 17:08
@blizzz blizzz mentioned this pull request May 16, 2023
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.

4 participants