-
Notifications
You must be signed in to change notification settings - Fork 166
Fix countdown JavaScript error for lockout screens #6129
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
Changes from all commits
e4e8616
dcef566
c3713ad
d26d452
b39d61d
9cb8607
dc661ce
4f5b3a2
327b189
e50d130
06da437
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -6,7 +6,7 @@ | |
| <%= render PageHeadingComponent.new.with_content(presenter.header) %> | ||
| <% end %> | ||
|
|
||
| <% Array(presenter.description).each do |description_p| %> | ||
| <% Array(presenter.description(self)).each do |description_p| %> | ||
|
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I don't like it, and we encountered it once before in #6023 (comment), but as noted in extended commit description of dcef566 and original pull request comment text, we can't rely on I think an ideal long-term solution is to remove these presenters and views altogether, then create a shared "Failure" component that can take the place of this view and the e.g. <%# app/views/shared/_otp_max_attempts %>
<%= render ErrorPageComponent.new(...) %> |
||
| <p><%= description_p %></p> | ||
| <% end %> | ||
|
|
||
|
|
@@ -15,7 +15,3 @@ | |
| heading: t('components.troubleshooting_options.default_heading'), | ||
| options: presenter.troubleshooting_options, | ||
| ) %> | ||
|
|
||
| <% if presenter.js %> | ||
| <%= backwards_compatible_javascript_tag presenter.js %> | ||
| <% end %> | ||
Uh oh!
There was an error while loading. Please reload this page.