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:
Matt Batchelder
2026-04-08 12:33:52 -04:00
parent d1c69404bb
commit 8edcdedcd5
9 changed files with 9871 additions and 1757 deletions

View File

@@ -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">