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

[stable29] Clear pending two factor tokens also from configuration #49097

Merged
merged 2 commits into from
Nov 13, 2024

Conversation

backportbot[bot]
Copy link

@backportbot backportbot bot commented Nov 5, 2024

Backport of PR #48933

Otherwise as the tokens were removed from the database but not from the
configuration the next time that the tokens were cleared the previous
tokens were still got from the configuration, and trying to remove them
again from the database ended in a DoesNotExistException being thrown.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
If a token was already removed from the database but not from the
configuration clearing the tokens will try to remove it again from the
database, which caused a DoesNotExistException to be thrown.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
@backportbot backportbot bot requested a review from danxuliu November 5, 2024 10:49
@backportbot backportbot bot added this to the Nextcloud 29.0.9 milestone Nov 5, 2024
@nickvergessen nickvergessen removed their request for review November 5, 2024 10:54
@Altahrim Altahrim mentioned this pull request Nov 5, 2024
6 tasks
@Altahrim Altahrim mentioned this pull request Nov 7, 2024
7 tasks
@st3iny st3iny enabled auto-merge November 13, 2024 09:48
@st3iny st3iny added 4. to release Ready to be released and/or waiting for tests to finish and removed 3. to review Waiting for reviews labels Nov 13, 2024
@st3iny st3iny merged commit 4b563e0 into stable29 Nov 13, 2024
181 checks passed
@st3iny st3iny deleted the backport/48933/stable29 branch November 13, 2024 10:04
@skjnldsv skjnldsv mentioned this pull request Nov 27, 2024
4 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
4. to release Ready to be released and/or waiting for tests to finish bug feature: authentication
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants