Skip to content
This repository has been archived by the owner on Jul 24, 2018. It is now read-only.

Commit

Permalink
Merge pull request #74 from fedora-infra/comfirmation_template
Browse files Browse the repository at this point in the history
Add missing CONFIRMATION_TEMPLATE for DebugBackend
  • Loading branch information
sayanchowdhury committed Jun 20, 2016
2 parents 0e75ce3 + 4631276 commit 485fc46
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions fmn/consumer/backends/debug.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,16 @@

import datetime

CONFIRMATION_TEMPLATE = u"""
{username} has requested that notifications be sent to this email address
* To accept, visit this address:
{acceptance_url}
* Or, to reject you can visit this address:
{rejection_url}
Alternatively, you can ignore this. This is an automated message, please
email {support_email} if you have any concerns/issues/abuse.
"""


class DebugBackend(BaseBackend):
__context_name__ = "debug"
Expand Down

0 comments on commit 485fc46

Please sign in to comment.