Skip to content

Conversation

@artonge
Copy link
Contributor

@artonge artonge commented Apr 24, 2023

Manual backport of #37717

@artonge artonge added bug 3. to review Waiting for reviews feature: external storage feature: authentication php Pull requests that update Php code labels Apr 24, 2023
@artonge artonge added this to the Nextcloud 25.0.7 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 26, 2023

/rebase

artonge added 2 commits April 26, 2023 07:35
Signed-off-by: Louis Chemineau <[email protected]>
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]>
@nextcloud-command nextcloud-command force-pushed the backport/stable25/artonge/fix/dont_override_stored_credentials_with_saml branch from 1399e74 to 30e78f3 Compare April 26, 2023 07:35
@artonge artonge enabled auto-merge April 26, 2023 10:48
@artonge artonge merged commit 626c0ae into stable25 Apr 26, 2023
@artonge artonge deleted the backport/stable25/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

Labels

3. to review Waiting for reviews bug feature: authentication feature: external storage php Pull requests that update Php code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants