fix typo in change_passsword

s/passsword/password/

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
Dominik Csapak 2018-06-12 15:06:48 +02:00 committed by Thomas Lamprecht
parent 1e41cdc903
commit 765305e210
2 changed files with 2 additions and 2 deletions

View File

@ -283,7 +283,7 @@ __PACKAGE__->register_method ({
}});
__PACKAGE__->register_method ({
name => 'change_passsword',
name => 'change_password',
path => 'password',
method => 'PUT',
permissions => {

View File

@ -63,7 +63,7 @@ our $cmddef = {
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' },