Forum Discussion
Custom Deny Ending in Access Policy
- Feb 24, 2015
Have you tried replacing the text that you don't want to display?
For instance, under Advanced Customization -> Localization (tab) -> Customization Settings -> Access Profiles -> {Access Profile Name} -> Access Policy -> Ending Pages -> Deny -> General, replace the New Session Text and New Session Link with something that will leave blank space - like a
.
I had originally tried changing some instances of "visible" to "hidden" but this did not work. I later commented out the actual code and this did work. The code in question was:
document.getElementById("sessionDIV").innerHTML = '
%[session_id_caption] ' + display_session + '
';
document.getElementById("sessionDIV").style.visibility = "visible";
This is from logout.inc.
By the way it is worth noting that this is a custom ending therefore it is not the original logout.inc that is being modified. I would not change that one.
Case closed. Thanks, folks!
Recent Discussions
Related Content
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com