Network Sentry Version: 7.2.x
Issue: When the Logout" button is clicked in Host Inventory, you are redirected to the following URL:
http(s)://<hostname>/
In some cases, this redirects to http(s)://<hostname>/hub/. Depending upon the message on the landing page, it could cause some confusion.
Workaround:
The following script redirects to /registration/ when logging out, but can be changed to any URL. It assumes the same domain and security level if you start it with /, but you can provide the full URL to go to a different page.
1) Navigate to System > Portal Configuration
2) Expand Host Inventory in the tree on the left
3) Click Common
4) Paste the following in Text Content field:
<script type="text/javascript">
(function() {
window.checkLogout = function(response) {
if(response.logout) {
window.location.href = "/registration/";
}
pollingCount = 0;
}
})();
</script>
5) Click APPLY
Solution: As of Network Sentry 7.3, an option will be available to change where to be redirected when clicking "Logout" in Host Inventory.
The Fortinet Security Fabric brings together the concepts of convergence and consolidation to provide comprehensive cybersecurity protection for all users, devices, and applications and across all network edges.
Copyright 2024 Fortinet, Inc. All Rights Reserved.