Beispiel #1
0
 def POST_optin(self, msg_hash):
     email, sent = opt_in(msg_hash)
     if not email:
         return self.abort404()
     return BoringPage(_("welcome back"),
                       content = OptOut(email = email, leave = False,
                                        sent = True,
                                        msg_hash = msg_hash)).render()
Beispiel #2
0
 def POST_optin(self, msg_hash):
     email, sent = opt_in(msg_hash)
     if not email:
         return self.abort404()
     return BoringPage(_("welcome back"),
                       content = OptOut(email = email, leave = False,
                                        sent = True,
                                        msg_hash = msg_hash)).render()