summaryrefslogtreecommitdiffstats
path: root/pyLoadCore.py
diff options
context:
space:
mode:
authorGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2011-05-27 22:52:24 +0200
committerGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2011-05-27 22:52:24 +0200
commit3254a85595dd27a96862d8d7b932c03ade166f95 (patch)
tree969bd75d09550da32792c2537e8d6e9f0101386e /pyLoadCore.py
parentfixes last commit (diff)
downloadpyload-3254a85595dd27a96862d8d7b932c03ade166f95.tar.xz
change password in webif
Diffstat (limited to 'pyLoadCore.py')
-rwxr-xr-xpyLoadCore.py4
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: