Merge pull request #1264 from SuperSandro2000/patch-2

Fix example config
This commit is contained in:
Eelco Dolstra 2022-12-05 17:48:46 +01:00 committed by GitHub
commit d1fac69c21
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -131,8 +131,8 @@ use LDAP to manage roles and users.
This is configured by defining the `<ldap>` block in the configuration file. This is configured by defining the `<ldap>` block in the configuration file.
In this block it's possible to configure the authentication plugin in the In this block it's possible to configure the authentication plugin in the
`<config>` block. All options are directly passed to `Catalyst::Authentication::Store::LDAP`. `<config>` block. All options are directly passed to `Catalyst::Authentication::Store::LDAP`.
The documentation for the available settings can be found [here] The documentation for the available settings can be found
(https://metacpan.org/pod/Catalyst::Authentication::Store::LDAP#CONFIGURATION-OPTIONS). [here](https://metacpan.org/pod/Catalyst::Authentication::Store::LDAP#CONFIGURATION-OPTIONS).
Note that the bind password (if needed) should be supplied as an included file to Note that the bind password (if needed) should be supplied as an included file to
prevent it from leaking to the Nix store. prevent it from leaking to the Nix store.
@ -179,6 +179,7 @@ Example configuration:
<role_search_options> <role_search_options>
deref = always deref = always
</role_search_options> </role_search_options>
</store>
</config> </config>
<role_mapping> <role_mapping>
# Make all users in the hydra_admin group Hydra admins # Make all users in the hydra_admin group Hydra admins