miniflux: Trim error messages when creating user

Signed-off-by: Joseph Nuthalapati <njoseph@riseup.net>
This commit is contained in:
Joseph Nuthalapati committed 2024-07-30 00:14:30 +05:30
1 parent a66162d697
commit 62b9063bc2
1 file changed
+1 -1
+1 -1
View File
@@ -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)