py-scopes: move user.py from org to web/auth

This commit is contained in:
Helmut Merz 2026-10-28 11:32:08 +01:00
parent c6155a40e5
commit 3d4f5629e7

View file

@ -167,7 +167,7 @@ def createExtUser(person, principal=None, updateIfExists=False):
return
if principal is None:
principal = getInternalPrincipal(person.userId, person.context)
from scopes.org import user
from scopes.web.auth import user
u = user.User(principal.login, person.email, #principal.password,
firstName=person.firstName or '',
lastName=person.lastName or '')