We already have some punctuation [ci skip]

This commit is contained in:
decentral1se 2021-06-13 16:52:39 +02:00
parent d9e68d997d
commit c45ee1647c
Signed by: decentral1se
GPG Key ID: 92DAD76BD9567B8A

View File

@ -86,7 +86,7 @@ def form_keycloak_register(
f"Keycloak user registration failed, saw: {exception}"
)
message = json.loads(exception.error_message).get(
"errorMessage", "Unknown reason!"
"errorMessage", "Unknown reason"
)
context = {"request": request, "exception": message}
return request.app.state.templates.TemplateResponse(