Skip to content

fix: Always deactivate OTP even if it is a debug code - #20

Merged
paveldedik merged 2 commits into
masterfrom
pd/fix-otp-debug-deactivation
Apr 2, 2026
Merged

paveldedik merged 2 commits into
masterfrom
pd/fix-otp-debug-deactivation

Conversation

@paveldedik

Copy link
Copy Markdown
Member

No description provided.

@paveldedik
paveldedik force-pushed the pd/fix-otp-debug-deactivation branch from 03f2f2a to e573fba Compare April 2, 2026 11:52
@paveldedik
paveldedik force-pushed the pd/fix-otp-debug-deactivation branch from e573fba to 5440f72 Compare April 2, 2026 12:19
assert_true(check_authorization_request(
authorization_request,
otp_secret_key=authorization_request.secret_key,
deactivate_otp_on_success=False

@paveldedik paveldedik Apr 2, 2026 •

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Without this argument, the test wouldn't work because OTP is deactivated when request is successful by default.

@coveralls

Copy link
Copy Markdown

Pull Request Test Coverage Report for Build 23900044384

Details

  • 0 of 0 changed or added relevant lines in 0 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage remained the same at 0.0%

Totals Coverage Status
Change from base Build 23734204076: 0.0%
Covered Lines: 0
Relevant Lines: 0

💛 - Coveralls

@dstlmrk
dstlmrk self-requested a review April 2, 2026 12:27
@dstlmrk dstlmrk assigned paveldedik and unassigned dstlmrk Apr 2, 2026
@paveldedik
paveldedik merged commit f9d23f3 into master Apr 2, 2026
4 checks passed
@paveldedik
paveldedik deleted the pd/fix-otp-debug-deactivation branch April 2, 2026 12:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants