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

ZCS-12908: set context path on 2FA setup page #792

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from
Open

Conversation

k-kato
Copy link
Contributor

@k-kato k-kato commented Feb 1, 2023

Issue:
In TwoFactorSetup.jsp, a value of contextPath was set at lines 36-39, but it was not set in pageContext attribute. Then ${contextPath} was always empty at line 75.

<script src="${contextPath}/js/TwoFactor_all.js<%=ext%>?v=${version}"></script>

Fix:

  • Add pageContext.setAttribute("contextPath", contextPath);

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants