Add custom error and not found pages, and implement SAML authentication configuration
- Created a new error page (error.twig) with a user-friendly design for displaying error messages. - Created a new not found page (not-found.twig) to handle 404 errors with appropriate messaging and actions. - Added a SAML authentication configuration file (settings-custom.php) to support group-based admin assignment and user provisioning.
This commit is contained in:
@@ -1,6 +1,15 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<script nonce="{{ cspNonce }}">
|
||||
(function() {
|
||||
if (window.location.search.indexOf('/layout/designer/') !== -1) return;
|
||||
var path = window.location.pathname;
|
||||
var cmsIdx = path.toLowerCase().indexOf('/cms');
|
||||
var portalUrl = window.location.origin + (cmsIdx > 0 ? path.substring(0, cmsIdx) : '') + '/';
|
||||
window.location.replace(portalUrl);
|
||||
})();
|
||||
</script>
|
||||
<title>{{ theme.getThemeConfig("theme_title") }}</title>
|
||||
<meta charset="utf-8">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
|
||||
Reference in New Issue
Block a user