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

[stable28] Clear pending two factor tokens also from configuration #49096

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 <[email protected]>
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 <[email protected]>
@backportbot backportbot bot requested a review from miaulalala November 5, 2024 10:48
@backportbot backportbot bot requested a review from st3iny as a code owner November 5, 2024 10:48
@backportbot backportbot bot requested review from st3iny and danxuliu November 5, 2024 10:48
@backportbot backportbot bot added this to the Nextcloud 28.0.12 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
3 tasks
@Altahrim Altahrim mentioned this pull request Nov 7, 2024
3 tasks
@st3iny st3iny merged commit 1b0926e into stable28 Nov 13, 2024
56 checks passed
@st3iny st3iny deleted the backport/48933/stable28 branch November 13, 2024 09:47
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