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

Update otp_credentials#show to redirect to new_session_path for blank challenge #75

Merged
merged 1 commit into from
May 25, 2024

Conversation

strouptl
Copy link
Contributor

@strouptl strouptl commented May 21, 2024

The otp_credentials#show action returns an "undefined method root_url" error for blank challenge or resource (which is acquired via the challenge), as there is no root path defined in the routes. It is probably better to redirect these requests to new_session_path anyway, though, as the update action does.

This PR makes this change and resolves the issue.

… blank challenges (resolves "undefined method root_url" error);
@strzibny strzibny merged commit 960546d into wmlele:master May 25, 2024
1 check passed
@strouptl strouptl deleted the blank_challenge_redirect branch June 4, 2024 12:40
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.

2 participants