minor fixes
This commit is contained in:
parent
bc2b0aaa2c
commit
287b62f7b8
2 changed files with 1 additions and 3 deletions
|
@ -67,7 +67,7 @@ class ExtUser:
|
||||||
data['hashedPassword'] = self.user.hashedPassword
|
data['hashedPassword'] = self.user.hashedPassword
|
||||||
status, res = self.client.post(self.endpoints['users_human'], data)
|
status, res = self.client.post(self.endpoints['users_human'], data)
|
||||||
if status > 201:
|
if status > 201:
|
||||||
if updateIfExits:
|
if updateIfExists:
|
||||||
return self.update()
|
return self.update()
|
||||||
return status, res
|
return status, res
|
||||||
#if self.user.groups:
|
#if self.user.groups:
|
||||||
|
|
|
@ -6,8 +6,6 @@ import logging
|
||||||
import requests
|
import requests
|
||||||
from scopes.web.auth import oidc
|
from scopes.web.auth import oidc
|
||||||
|
|
||||||
import config
|
|
||||||
|
|
||||||
logger = logging.getLogger('web.client')
|
logger = logging.getLogger('web.client')
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue