From 3254a85595dd27a96862d8d7b932c03ade166f95 Mon Sep 17 00:00:00 2001 From: RaNaN Date: Fri, 27 May 2011 22:52:24 +0200 Subject: change password in webif --- pyLoadCore.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'pyLoadCore.py') 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: -- cgit v1.2.3