fix: show message as string

This commit is contained in:
cellarspoon 2022-01-10 10:32:54 +01:00
parent 53a6abb7a8
commit df35fe181a
No known key found for this signature in database
GPG Key ID: 03789458B3D0C410

View File

@ -80,7 +80,7 @@ def form_keycloak_register(
) )
if password != password_again: if password != password_again:
context["exception"] = ("passwords don't match?",) context["exception"] = "passwords don't match?"
return request.app.state.templates.TemplateResponse( return request.app.state.templates.TemplateResponse(
"register.html", context=context "register.html", context=context
) )