From: javyer Date: Wed, 24 Oct 2012 14:52:12 +0000 (+0000) Subject: ValidatedEmail badge should be awarded only once X-Git-Tag: live~37 X-Git-Url: https://git.openstreetmap.org./osqa.git/commitdiff_plain/84fbf26eed3101008c0c2056a5dc24c4620e36c0 ValidatedEmail badge should be awarded only once git-svn-id: http://svn.osqa.net/svnroot/osqa/trunk@1280 0cfe37f9-358a-4d5e-be75-b63607b5c754 --- diff --git a/forum_modules/default_badges/badges.py b/forum_modules/default_badges/badges.py index f9da788..ac02899 100644 --- a/forum_modules/default_badges/badges.py +++ b/forum_modules/default_badges/badges.py @@ -325,6 +325,7 @@ class ValidatedEmail(AbstractBadge): listen_to = (EmailValidationAction,) name = _("Validated Email") description = _("User who has validated email associated to the account") + award_once = True def award_to(self, action): return action.user \ No newline at end of file