Skip to content

Setup wizard goes into loop when 2fa is activated#99

Merged
tarekio merged 5 commits intomainfrom
BYNT-1358-Setup-Wizard-goes-into-loop-when-2FA-is-activated
Jun 16, 2025
Merged

Setup wizard goes into loop when 2fa is activated#99
tarekio merged 5 commits intomainfrom
BYNT-1358-Setup-Wizard-goes-into-loop-when-2FA-is-activated

Conversation

@apodacaduron
Copy link
Copy Markdown
Contributor

@apodacaduron apodacaduron commented Jun 4, 2025

Jira Issue

  1. BYNT-1358

Description

This fixes an infinite redirect loop caused when 2FA is enabled and config.json is deleted. After login, the app skips 2FA and redirects to the setup wizard, which then sends the user back to login, creating a loop. By excluding login and 2FA routes from the setup redirect when users exist, the fix allows normal login flow and prevents the loop.

Checklist

  • Tests added/updated
  • Documentation updated (if needed)
  • New strings prepared for translations

API Changes (if applicable)

  • Permissions checked
  • Endpoint tests added

Additional Notes

[Any other relevant information]

@apodacaduron apodacaduron self-assigned this Jun 4, 2025
@apodacaduron apodacaduron requested a review from tarekio June 4, 2025 21:20
Copy link
Copy Markdown
Collaborator

@level09 level09 left a comment

Choose a reason for hiding this comment

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

Good to go !

@tarekio tarekio merged commit 362781f into main Jun 16, 2025
7 checks passed
@tarekio tarekio deleted the BYNT-1358-Setup-Wizard-goes-into-loop-when-2FA-is-activated branch June 16, 2025 16:41
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