From 60c64d85ce6078c9b0a66b9808943fa60b3eb819 Mon Sep 17 00:00:00 2001 From: RaNaN Date: Fri, 4 Oct 2013 18:54:40 +0200 Subject: stubs for Api to manage users. --- pyload/remote/pyload.thrift | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'pyload/remote') diff --git a/pyload/remote/pyload.thrift b/pyload/remote/pyload.thrift index 905be22b0..3d0f201e7 100644 --- a/pyload/remote/pyload.thrift +++ b/pyload/remote/pyload.thrift @@ -495,6 +495,9 @@ service Pyload { // returns own user data UserData getUserData(), + // works contextual, admin can change every password + bool setPassword(1: string username, 2: string old_password, 3: string new_password), + // all user, for admins only map getAllUserData(), @@ -504,9 +507,6 @@ service Pyload { void updateUserData(1: UserData data), void removeUser(1: UserID uid), - // works contextual, admin can change every password - bool setPassword(1: string username, 2: string old_password, 3: string new_password), - /////////////////////// // Addon Methods /////////////////////// -- cgit v1.2.3