diff --git a/PVE/API2/AccessControl.pm b/PVE/API2/AccessControl.pm index 2e16ebf..273178d 100644 --- a/PVE/API2/AccessControl.pm +++ b/PVE/API2/AccessControl.pm @@ -536,7 +536,7 @@ __PACKAGE__->register_method ({ if !defined($password); my $domain_cfg = cfs_read_file('domains.cfg'); my $cfg = $domain_cfg->{ids}->{$realm}; - die "auth domain '$realm' does not exists\n" if !$cfg; + die "auth domain '$realm' does not exist\n" if !$cfg; my $plugin = PVE::Auth::Plugin->lookup($cfg->{type}); $plugin->authenticate_user($cfg, $realm, $ruid, $password); } diff --git a/PVE/AccessControl.pm b/PVE/AccessControl.pm index 4e9deea..823d1c5 100644 --- a/PVE/AccessControl.pm +++ b/PVE/AccessControl.pm @@ -533,7 +533,7 @@ sub authenticate_user { my $domain_cfg = cfs_read_file('domains.cfg'); my $cfg = $domain_cfg->{ids}->{$realm}; - die "auth domain '$realm' does not exists\n" if !$cfg; + die "auth domain '$realm' does not exist\n" if !$cfg; my $plugin = PVE::Auth::Plugin->lookup($cfg->{type}); $plugin->authenticate_user($cfg, $realm, $ruid, $password);