X-Git-Url: https://git.openstreetmap.org./osqa.git/blobdiff_plain/637586cdc355742731fb5428e0dab2f45063477f..b0bfed453995222e1a9a88633e04d8d02e024f4b:/forum/actions/user.py?ds=sidebyside diff --git a/forum/actions/user.py b/forum/actions/user.py index 3366a6c..c8e075c 100644 --- a/forum/actions/user.py +++ b/forum/actions/user.py @@ -46,7 +46,7 @@ class EmailValidationAction(ActionProxy): return _("%(user)s %(have_has)s validated the e-mail %(email)s") % { 'user': self.hyperlink(self.user.get_profile_url(), self.friendly_username(viewer, self.user)), 'have_has': self.viewer_or_user_verb(viewer, self.user, _('have'), _('has')), - 'email' : self.user.email + 'email' : self.user.email if viewer.is_superuser or viewer.is_staff or viewer == self.user else "" } class EditProfileAction(ActionProxy):