Fix mail for test deployment.

This commit is contained in:
Ricky Zhou (周家杰) 2008-03-04 18:49:14 -05:00
parent 9e588836c3
commit d866115448
2 changed files with 3 additions and 2 deletions

View file

@ -8,8 +8,8 @@
#base_url_filter.base_url = "http://192.168.2.101:8080"
mail.on = True
mail.server = 'bastion.fedora.phx.redhat.com'
mail.testmode = True
mail.server = 'bastion.fedoraproject.org"
#mail.testmode = True
mail.debug = False
mail.encoding = 'utf-8'

View file

@ -167,6 +167,7 @@ class CLA(controllers.Controller):
person.remove(cilckgroup, person)
except:
pass
# TODO: Email legal-cla-archive@fedoraproject.org
turbogears.flash(_("You have successfully signed the CLA. You are now in the '%s' group.") % group.name)
turbogears.redirect('/cla/')
return dict()