diff options
author | RaNaN <Mast3rRaNaN@hotmail.de> | 2011-05-27 22:52:24 +0200 |
---|---|---|
committer | RaNaN <Mast3rRaNaN@hotmail.de> | 2011-05-27 22:52:24 +0200 |
commit | 3254a85595dd27a96862d8d7b932c03ade166f95 (patch) | |
tree | 969bd75d09550da32792c2537e8d6e9f0101386e /pyLoadCore.py | |
parent | fixes last commit (diff) | |
download | pyload-3254a85595dd27a96862d8d7b932c03ade166f95.tar.xz |
change password in webif
Diffstat (limited to 'pyLoadCore.py')
-rwxr-xr-x | pyLoadCore.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/pyLoadCore.py b/pyLoadCore.py index d9f795026..593fb046e 100755 --- a/pyLoadCore.py +++ b/pyLoadCore.py @@ -859,10 +859,12 @@ class ServerMethods(): return self.core.db.getAllUserData() def set_user_permission(self, user, permission, role): - self.core.db.setPermission(user, permission) self.core.db.setRole(user, role) + def change_password(self, user, oldpw, newpw): + return self.core.db.changePassword(user, oldpw, newpw) + def deamon(): try: |