Merge branch 'main' into feat/batch-create-users

This commit is contained in:
Davor 2022-07-21 11:45:15 +02:00
commit d140a1a6cb
2 changed files with 11 additions and 8 deletions

View file

@ -165,6 +165,7 @@ def show_user(email):
:param email: Email address of the user to show :param email: Email address of the user to show
""" """
user = KratosUser.find_by_email(KRATOS_ADMIN, email) user = KratosUser.find_by_email(KRATOS_ADMIN, email)
if user is not None:
print(user) print(user)
print("") print("")
print(f"UUID: {user.uuid}") print(f"UUID: {user.uuid}")
@ -172,6 +173,8 @@ def show_user(email):
print(f"Updated: {user.updated_at}") print(f"Updated: {user.updated_at}")
print(f"Created: {user.created_at}") print(f"Created: {user.created_at}")
print(f"State: {user.state}") print(f"State: {user.state}")
else:
print(f"User with email address '{email}' was not found")
@user_cli.command("update") @user_cli.command("update")

View file

@ -1,7 +1,7 @@
version: '3' version: '3'
services: services:
stackspin_proxy: stackspin_proxy:
image: nginx:1.23.0 image: nginx:1.23.1
ports: ports:
- "8081:8081" - "8081:8081"
volumes: volumes: