admin: Return the user after creation
Some checks failed
continuous-integration/drone/tag Build is failing
Some checks failed
continuous-integration/drone/tag Build is failing
This commit is contained in:
parent
5bef97dedf
commit
7735e6b4ac
@ -39,7 +39,7 @@ class Admin:
|
|||||||
u = AuthUser(self, **r.json())
|
u = AuthUser(self, **r.json())
|
||||||
|
|
||||||
u.Password = u.ResetPassword(password)
|
u.Password = u.ResetPassword(password)
|
||||||
return
|
return u
|
||||||
|
|
||||||
def authuser_delete(self, Id):
|
def authuser_delete(self, Id):
|
||||||
r = self.session.delete("http+unix://" + self.socket_path + "/api/auth/" + quote_plus(Id))
|
r = self.session.delete("http+unix://" + self.socket_path + "/api/auth/" + quote_plus(Id))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user