From 84fbf26eed3101008c0c2056a5dc24c4620e36c0 Mon Sep 17 00:00:00 2001 From: javyer Date: Wed, 24 Oct 2012 14:52:12 +0000 Subject: [PATCH 1/1] ValidatedEmail badge should be awarded only once git-svn-id: http://svn.osqa.net/svnroot/osqa/trunk@1280 0cfe37f9-358a-4d5e-be75-b63607b5c754 --- forum_modules/default_badges/badges.py | 1 + 1 file changed, 1 insertion(+) 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 -- 2.39.5