8
0
Fork 0
mirror of https://gitlab2.federez.net/re2o/re2o synced 2024-11-25 22:22:26 +00:00

Fix string formatting error during email confirmation

This commit is contained in:
Jean-Romain Garnier 2020-04-17 10:30:44 +00:00 committed by Supelec Rezo Rennes
parent dbefd3a0d7
commit 781c459db3

View file

@ -1063,7 +1063,7 @@ def process_email(request, req):
reversion.set_comment("Email confirmation") reversion.set_comment("Email confirmation")
req.delete() req.delete()
messages.success(request, _("The %(email)s address was confirmed." % user.email)) messages.success(request, _("The %s address was confirmed." % user.email))
return redirect(reverse("index")) return redirect(reverse("index"))
return form( return form(