From 3d65d641f181689dc3beba26b6aad3e0ecf1bfd9 Mon Sep 17 00:00:00 2001
From: Ide Braakman <ide@ezcompany.nl>
Date: Tue, 5 Dec 2017 08:53:23 +0100
Subject: [PATCH] Issue #2928514 by idebr: [D8] Allow SAML login when in
 maintenance mode

---
 simplesamlphp_auth.routing.yml | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/simplesamlphp_auth.routing.yml b/simplesamlphp_auth.routing.yml
index 5090f1a..f3b7eec 100644
--- a/simplesamlphp_auth.routing.yml
+++ b/simplesamlphp_auth.routing.yml
@@ -26,4 +26,5 @@ simplesamlphp_auth.saml_login:
   requirements:
     _access: 'TRUE'
   options:
-     no_cache: TRUE
+    _maintenance_access: TRUE
+    no_cache: TRUE
-- 
2.11.0 (Apple Git-81)

