]> git.openstreetmap.org Git - osqa.git/blobdiff - forum_modules/default_badges/badges.py
ValidatedEmail badge should be awarded only once
[osqa.git] / 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")
     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
 
     def award_to(self, action):
         return action.user
\ No newline at end of file