mirror of
https://git.proxmox.com/git/pve-access-control
synced 2025-08-08 01:29:40 +00:00
api/users: indentation cleanup
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
parent
eb41d20051
commit
2dd1e1d41e
@ -229,9 +229,7 @@ __PACKAGE__->register_method ({
|
|||||||
code => sub {
|
code => sub {
|
||||||
my ($param) = @_;
|
my ($param) = @_;
|
||||||
|
|
||||||
PVE::AccessControl::lock_user_config(
|
PVE::AccessControl::lock_user_config(sub {
|
||||||
sub {
|
|
||||||
|
|
||||||
my ($username, $ruid, $realm) = PVE::AccessControl::verify_username($param->{userid});
|
my ($username, $ruid, $realm) = PVE::AccessControl::verify_username($param->{userid});
|
||||||
|
|
||||||
my $usercfg = cfs_read_file("user.cfg");
|
my $usercfg = cfs_read_file("user.cfg");
|
||||||
|
Loading…
Reference in New Issue
Block a user