Dietmar Maurer 36b7085ec2 rest server: cleanup auth-log handling
Handle auth logs the same way as access log.
- Configure with ApiConfig
- CommandoSocket command to reload auth-logs "api-auth-log-reopen"

Inside API calls, we now access the ApiConfig using the RestEnvironment.

The openid_login api now also logs failed logins and return http_err!(UNAUTHORIZED, ..)
on failed logins.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2021-09-21 08:46:41 +02:00
..
2021-07-03 21:44:13 +02:00
2021-09-14 08:35:43 +02:00
2021-09-14 08:35:43 +02:00
2021-09-02 12:58:20 +02:00
2021-07-19 12:58:43 +02:00