]> git.proxmox.com Git - pve-access-control.git/commitdiff
fix typo in change_passsword
authorDominik Csapak <d.csapak@proxmox.com>
Tue, 12 Jun 2018 13:06:48 +0000 (15:06 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Tue, 12 Jun 2018 13:07:27 +0000 (15:07 +0200)
s/passsword/password/

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
PVE/API2/AccessControl.pm
PVE/CLI/pveum.pm

index e48f0cb6c750245a38484151a41774c6df63a7ef..afcd2fa62e5092f6abf03a754b61b993d6b849c7 100644 (file)
@@ -283,7 +283,7 @@ __PACKAGE__->register_method ({
     }});
 
 __PACKAGE__->register_method ({
     }});
 
 __PACKAGE__->register_method ({
-    name => 'change_passsword', 
+    name => 'change_password',
     path => 'password', 
     method => 'PUT',
     permissions => { 
     path => 'password', 
     method => 'PUT',
     permissions => { 
index a4e584d7026bfa43a0eaa864b4e6977a9fa8c7b7..b8412eb0c173f52d89bb2d8dabd52b583b2ad241 100755 (executable)
@@ -63,7 +63,7 @@ our $cmddef = {
                    print "$res->{ticket}\n";
                }],
 
                    print "$res->{ticket}\n";
                }],
 
-    passwd => [ 'PVE::API2::AccessControl', 'change_passsword', ['userid'] ],
+    passwd => [ 'PVE::API2::AccessControl', 'change_password', ['userid'] ],
 
     useradd => { alias => 'user add' },
     usermod => { alias => 'user modify' },
 
     useradd => { alias => 'user add' },
     usermod => { alias => 'user modify' },