From ee41f79bccb179665b400de568ea8f7c3a009358 Mon Sep 17 00:00:00 2001 From: yackob03 Date: Tue, 1 Oct 2013 15:48:53 -0400 Subject: [PATCH] Switch the confirmation email from fluxmonkey to quay. --- config.py | 2 +- util/email.py | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/config.py b/config.py index 77240544e..257171c89 100644 --- a/config.py +++ b/config.py @@ -18,7 +18,7 @@ class MailConfig(object): MAIL_PORT = 587 MAIL_USERNAME = 'AKIAIXV5SDGCPVMU3N4Q' MAIL_PASSWORD = 'AhmX/vWE91uQ2RtcEKTkfNrzZehEjPNXOXeOXgQNfLao' - DEFAULT_MAIL_SENDER = 'support@fluxmonkey.io' + DEFAULT_MAIL_SENDER = 'support@quay.io' MAIL_FAIL_SILENTLY = False TESTING = False diff --git a/util/email.py b/util/email.py index fcc069409..49c6bc200 100644 --- a/util/email.py +++ b/util/email.py @@ -5,16 +5,16 @@ from app import mail, app CONFIRM_MESSAGE = """ This email address was recently used to register the username '%s' -at Quay.io.
+at Quay.

To confirm this email address, please click the following link:
-http://quay.io/confirm?code=%s +https://quay.io/confirm?code=%s """ def send_confirmation_email(username, email, token): msg = Message('Welcome to Quay! Please confirm your email.', - sender='support@fluxmonkey.io', # Why do I need this? + sender='support@quay.io', # Why do I need this? recipients=[email]) msg.html = CONFIRM_MESSAGE % (username, token, token) mail.send(msg)