minor fixes

This commit is contained in:
Helmut Merz 2025-08-09 15:23:40 +02:00
parent bc2b0aaa2c
commit 287b62f7b8
2 changed files with 1 additions and 3 deletions

View file

@ -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:

View file

@ -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')