The created user should always be the payload returned.
This commit is contained in:
parent
8792db0004
commit
cf409ffb09
1 changed files with 0 additions and 3 deletions
|
@ -45,9 +45,6 @@ def create_user(
|
|||
ctx.session.add(user)
|
||||
ctx.session.commit()
|
||||
|
||||
if ctx.user.user_id is not None:
|
||||
user = ctx.user
|
||||
|
||||
return _serialize(ctx, user, force_show_email=True)
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue