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

Commit

Permalink
Explain show_address_in_message
Browse files Browse the repository at this point in the history
  • Loading branch information
chadwhitacre committed Jun 16, 2017
1 parent 1b1da81 commit c6d6a63
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions www/~/%username/emails/modify.json.spt
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,15 @@ if action in ('add-email', 'resend', 'start-verification'):

participant.start_email_verification(address, *packages)
if show_address_in_message:

# When reverifying an already-verified email (package claiming is a
# special case of this), then don't worry about content spoofing,

msg = _("Check {email_address} for a verification link.", email_address=address)
else:

# ... but otherwise, do: https://hackerone.com/reports/117187.

msg = _("Check your inbox for a verification link.")
elif action == 'set-primary':
participant.set_primary_email(address)
Expand Down

0 comments on commit c6d6a63

Please sign in to comment.