From aa182459f0c562942fcd215eabe267d6f252e9a7 Mon Sep 17 00:00:00 2001 From: Maarten de Waard Date: Mon, 18 Jul 2022 15:02:51 +0200 Subject: [PATCH 1/2] fix(cliapp): Show a message if a user can not be found --- cliapp/cliapp/cli.py | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) diff --git a/cliapp/cliapp/cli.py b/cliapp/cliapp/cli.py index 9c16f09..06e6fb0 100644 --- a/cliapp/cliapp/cli.py +++ b/cliapp/cliapp/cli.py @@ -165,13 +165,16 @@ def show_user(email): :param email: Email address of the user to show """ user = KratosUser.find_by_email(KRATOS_ADMIN, email) - print(user) - print("") - print(f"UUID: {user.uuid}") - print(f"Username: {user.username}") - print(f"Updated: {user.updated_at}") - print(f"Created: {user.created_at}") - print(f"State: {user.state}") + if user is not None: + print(user) + print("") + print(f"UUID: {user.uuid}") + print(f"Username: {user.username}") + print(f"Updated: {user.updated_at}") + print(f"Created: {user.created_at}") + print(f"State: {user.state}") + else: + print(f"User with email address '{email}' was not found") @user_cli.command("update") From 72f54df155390deceeaff3f3638631dd39bd856b Mon Sep 17 00:00:00 2001 From: Stackspin renovate bot Date: Tue, 19 Jul 2022 22:05:15 +0000 Subject: [PATCH 2/2] chore(deps): update dependency nginx to v1.23.1 --- docker-compose.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docker-compose.yml b/docker-compose.yml index 43e2e2f..5ef6fb9 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -1,7 +1,7 @@ version: '3' services: stackspin_proxy: - image: nginx:1.23.0 + image: nginx:1.23.1 ports: - "8081:8081" volumes: