Fix anchor tag in flash message.

https://www.pivotaltracker.com/story/show/117513779
This commit is contained in:
Rebecca Law
2016-04-26 12:03:35 +01:00
parent a554d06c1d
commit 60c55ca9e2
2 changed files with 4 additions and 3 deletions

View File

@@ -27,10 +27,10 @@ def accept_invite(token):
flash("""
Youre signed in as {}.
This invite is for another email address.
<a href='{}'>Sign out</a> and click the link again to accept this invite.
{} and click the link again to accept this invite.
""".format(
current_user.email_address,
url_for("main.sign_out")
url_for("main.sign_out", _external=True)
))
abort(403)