Doc: Improve SAML RegEx example to not match on partials.

This commit is contained in:
Martin Gross
2022-02-23 11:02:44 +01:00
parent 4bc04de325
commit c7fc52cabe

View File

@@ -207,7 +207,7 @@ On this page, the actual authentication can be configured.
An Attribute RegEx of ``{}`` will allow any authenticated user to pass.
A RegEx of ``{ "affiliation": "(employee@pretix.eu|staff@pretix.eu)" }`` will
A RegEx of ``{ "affiliation": "^(employee@pretix.eu|staff@pretix.eu)$" }`` will
only allow user to pass which have the ``affiliation`` attribute and whose
attribute either matches ``employee@pretix.eu`` or ``staff@pretix.eu``.