wg-portal/docs
klmmr 2d14d7095f [DOCS] Fix example config wrt. admin_value_regex and admin_group_regex
Before this change, the example config in some places had
`admin_value_regex` and `admin_group_regex` as list items under
`admin_mapping`, which caused the following error:

```
panic: failed to load config from yaml: yaml error: yaml: unmarshal errors:
  line 45: cannot unmarshal !!seq into config.OauthAdminMapping
```

Removing the list and making them normal YML items prevents this error,
as `admin_mapping` does not expect a list.

This also fits my understanding of the [config implementation](7557a6ef5a/internal/config/auth.go (L32))
and another [example config file](662e9c0549/config.yml.sample (L88)).

Signed-off-by: klmmr <35450576+klmmr@users.noreply.github.com>
2025-02-07 17:12:03 +01:00
..
assets/images [docs] big bang update (#348) 2025-01-23 08:06:55 +01:00
documentation [DOCS] Fix example config wrt. admin_value_regex and admin_group_regex 2025-02-07 17:12:03 +01:00
stylesheets add github pages site 2023-11-02 21:44:14 +01:00
theme-overrides docs: build multi-version documentation (#327) 2024-12-03 19:04:43 +01:00
CNAME Create CNAME 2023-11-01 10:18:55 +01:00
index.md add github pages site 2023-11-02 21:44:14 +01:00