]> git.proxmox.com Git - pve-access-control.git/commit
api: delete user: disable first to avoid surprise on error
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Mon, 27 Sep 2021 13:32:38 +0000 (15:32 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Mon, 27 Sep 2021 13:47:22 +0000 (15:47 +0200)
commitba6cc98fcbfa64cf5e6d06f22bb2ace9fcb52c70
tree6dc2cb2ec31b51ccc409488535063c145506a660
parent8ecf1a490d7575e8211338c4b4075900a5af9c29
api: delete user: disable first to avoid surprise on error

Write out a config with the user disabled so that it cannot be used
even if deletion fails, why ever that is

Suggested-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
src/PVE/API2/User.pm