fix: show message as string
This commit is contained in:
parent
53a6abb7a8
commit
df35fe181a
@ -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
|
||||||
)
|
)
|
||||||
|
Loading…
Reference in New Issue
Block a user