Skip to content

Commit

Permalink
[DOCS] Fix example config wrt. admin_value_regex and admin_group_regex (
Browse files Browse the repository at this point in the history
  • Loading branch information
klmmr authored Feb 7, 2025
1 parent 7557a6e commit 588f09b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/documentation/configuration/examples.md
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ auth:
department: department
is_admin: wg_admin
admin_mapping:
- admin_value_regex: ^true$
admin_value_regex: ^true$
registration_enabled: true
log_user_info: true

Expand All @@ -125,7 +125,7 @@ auth:
department: department
user_groups: groups
admin_mapping:
- admin_group_regex: ^the-admin-group$
admin_group_regex: ^the-admin-group$
registration_enabled: true
log_user_info: true
```
Expand Down Expand Up @@ -157,7 +157,7 @@ auth:
firstname: name
is_admin: this-attribute-must-be-true
admin_mapping:
- admin_value_regex: ^(True|true)$
admin_value_regex: ^(True|true)$
registration_enabled: true

# a sample provider where either users with the attribute `this-attribute-must-be-true` set to `true` or
Expand Down

0 comments on commit 588f09b

Please sign in to comment.