]> git.proxmox.com Git - pve-access-control.git/commit
access check: include user/token id in expired exception
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Tue, 31 May 2022 11:32:36 +0000 (13:32 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Tue, 31 May 2022 11:37:51 +0000 (13:37 +0200)
commitaaacf4c31124e612e38640a6b1a58da70fe960d2
treee673294266d620a302422bc2d87b48510304fd9c
parent5ff516de5382a5145426336d85d165e8d609db28
access check: include user/token id in expired exception

not that relevant for the user as the daemon auth log already
contains that info, but for token it can be nice.

The API response is always just a plain "401 auth failure" in any
case (expired or wrong creds)

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
src/PVE/AccessControl.pm