Skip to content

Ensure backup codes exist before rendering refreshed template to fix 500#6145

Merged
mitchellhenke merged 1 commit intomainfrom
mitchellhenke/backup-code-500
Apr 4, 2022
Merged

Ensure backup codes exist before rendering refreshed template to fix 500#6145
mitchellhenke merged 1 commit intomainfrom
mitchellhenke/backup-code-500

Conversation

@mitchellhenke
Copy link
Contributor

Currently, if you navigate to https://idp.int.identitysandbox.gov/backup_code_refreshed while logged in, you can trigger a 500 (NR Link)

This PR adds the refreshed route to the ensure_backup_codes_in_session check

changelog: Bug Fixes, Account Management, Fix error trying to view refreshed backup codes when they do not exist
Copy link
Contributor

@aduth aduth left a comment

Choose a reason for hiding this comment

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

LGTM 👍

Copy link
Contributor

@zachmargolis zachmargolis left a comment

Choose a reason for hiding this comment

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

LGTM

@mitchellhenke mitchellhenke merged commit cba8c4b into main Apr 4, 2022
@mitchellhenke mitchellhenke deleted the mitchellhenke/backup-code-500 branch April 4, 2022 15:06
mitchellhenke pushed a commit that referenced this pull request Apr 4, 2022
changelog: Bug Fixes, Account Management, Fix error trying to view refreshed backup codes when they do not exist
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.

4 participants