py-scopes: move user.py from org to web/auth
This commit is contained in:
parent
c6155a40e5
commit
3d4f5629e7
1 changed files with 1 additions and 1 deletions
|
|
@ -167,7 +167,7 @@ def createExtUser(person, principal=None, updateIfExists=False):
|
||||||
return
|
return
|
||||||
if principal is None:
|
if principal is None:
|
||||||
principal = getInternalPrincipal(person.userId, person.context)
|
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,
|
u = user.User(principal.login, person.email, #principal.password,
|
||||||
firstName=person.firstName or '',
|
firstName=person.firstName or '',
|
||||||
lastName=person.lastName or '')
|
lastName=person.lastName or '')
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue