mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-03-11 09:04:54 +00:00
miniflux: Trim error messages when creating user
Signed-off-by: Joseph Nuthalapati <njoseph@riseup.net>
This commit is contained in:
parent
a66162d697
commit
62b9063bc2
@ -51,7 +51,7 @@ class CreateAdminUserView(SuccessMessageMixin, FormView):
|
||||
messages.error(
|
||||
self.request,
|
||||
_('An error occurred while creating the user: {error}.').
|
||||
format(error=error))
|
||||
format(error=str(error).strip()))
|
||||
|
||||
return super().form_valid(form)
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user