-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Ensure consume_assertion.html.twig is rendered once
Previously we would always render the regular consume_assertion.html.twig template, and additionally render the adfs variant when dealing with an ADFS response. That caused the JS from not ending up in the template, as Twig concluded that the (reused) JS was already on the page (as it was just rendered). This ensures the render method is called only once. Circumventing the problem. But not realy solving the issue at hand. Which is that the controller logic is getting growingly more complex and harder to understand. For that problem, I'm opening a technical debt issue in Pivotal. #312
- Loading branch information
Showing
2 changed files
with
13 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters