From c3495b3d7f89cff13f3fbc892def3e3f2c26c664 Mon Sep 17 00:00:00 2001 From: Scott Baker Date: Wed, 28 Jan 2015 16:38:05 -0800 Subject: [PATCH] ask the PI to click save --- planetstack/core/dashboard/views/tenant.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/planetstack/core/dashboard/views/tenant.py b/planetstack/core/dashboard/views/tenant.py index 7794bf2..5a45033 100644 --- a/planetstack/core/dashboard/views/tenant.py +++ b/planetstack/core/dashboard/views/tenant.py @@ -48,7 +48,7 @@ class RequestAccessView(View): subject, from_email, to = 'Authorize OpenCloud User Account', 'support@opencloud.us', str(sp.user) text_content = 'This is an important message.' html_content = """

Please authorize the following user on site """+site+""":

User: """+firstname+""" """+lastname+"""
Email: """+email+"""

-Check the checkbox next to Is Active property at this link to authorize the user. If you do not recognize this individual, or otherwise do not want to approve this account, please ignore this email. If you do not approve this request in 48 hours, the account will automatically be deleted.

""" +Check the checkbox next to Is Active property at this link to authorize the user, and then click the Save button. If you do not recognize this individual, or otherwise do not want to approve this account, please ignore this email. If you do not approve this request in 48 hours, the account will automatically be deleted.

""" msg = EmailMultiAlternatives(subject,text_content, from_email, [to]) msg.attach_alternative(html_content, "text/html") msg.send() -- 2.43.0