From df35fe181afd13bd4932b57f75463c21ccebd4a7 Mon Sep 17 00:00:00 2001 From: cellarspoon Date: Mon, 10 Jan 2022 10:32:54 +0100 Subject: [PATCH] fix: show message as string --- keycloak_collective_portal/routes/register.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/keycloak_collective_portal/routes/register.py b/keycloak_collective_portal/routes/register.py index 392bdb3..7a1e76f 100644 --- a/keycloak_collective_portal/routes/register.py +++ b/keycloak_collective_portal/routes/register.py @@ -80,7 +80,7 @@ def form_keycloak_register( ) if password != password_again: - context["exception"] = ("passwords don't match?",) + context["exception"] = "passwords don't match?" return request.app.state.templates.TemplateResponse( "register.html", context=context )