Skip to content

Comments

perf: load totp secret just once for verification#1683

Merged
ChristophWurst merged 1 commit intomasterfrom
perf/verify-load-once
Dec 3, 2025
Merged

perf: load totp secret just once for verification#1683
ChristophWurst merged 1 commit intomasterfrom
perf/verify-load-once

Conversation

@ChristophWurst
Copy link
Member

\OCA\TwoFactorTOTP\Service\Totp::validateSecret used to load the secret. Now it's passed as parameter.

master: secret row loaded twice
here: secret row loaded once

@codecov
Copy link

codecov bot commented Dec 3, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@ChristophWurst
Copy link
Member Author

/backport to stable32

@ChristophWurst
Copy link
Member Author

/backport to stable31

@ChristophWurst ChristophWurst merged commit bf22d1e into master Dec 3, 2025
25 checks passed
@ChristophWurst ChristophWurst deleted the perf/verify-load-once branch December 3, 2025 14:29
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.

2 participants