]> git.openstreetmap.org Git - osqa.git/commitdiff
ValidatedEmail badge should be awarded only once
authorjavyer <javyer@0cfe37f9-358a-4d5e-be75-b63607b5c754>
Wed, 24 Oct 2012 14:52:12 +0000 (14:52 +0000)
committerjavyer <javyer@0cfe37f9-358a-4d5e-be75-b63607b5c754>
Wed, 24 Oct 2012 14:52:12 +0000 (14:52 +0000)
git-svn-id: http://svn.osqa.net/svnroot/osqa/trunk@1280 0cfe37f9-358a-4d5e-be75-b63607b5c754

forum_modules/default_badges/badges.py

index f9da788d6c5ad434a22f7d7475b90f4ac9e2d014..ac02899b0ef2eff969ebb592c3a1ae7570d60b0d 100644 (file)
@@ -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