diff --git a/packet/templates/mail/packet_start.html b/packet/templates/mail/packet_start.html index 36e2a300..722e5768 100644 --- a/packet/templates/mail/packet_start.html +++ b/packet/templates/mail/packet_start.html @@ -6,7 +6,7 @@
Soon you'll starting the introductory process for CSH, and the first part of that is Packet.
Your packet will start on {{ packet.start.strftime('%A, %B %-d') }} at {{ packet.start.strftime('%-I:%M %p') }}
-You can view your packet at freshmen-packet.csh.rit.edu with +
You can view your packet at {{ config["PACKET_INTRO"] }} with the credentials you should have been sent.
If you don't know your credentials, reach out to an RTP
If you have any questions about Packet or the introductory process, email evals@csh.rit.edu
diff --git a/packet/templates/mail/packet_start.txt b/packet/templates/mail/packet_start.txt index 012423dc..162ec147 100644 --- a/packet/templates/mail/packet_start.txt +++ b/packet/templates/mail/packet_start.txt @@ -6,7 +6,7 @@ Soon you'll starting the introductory process for CSH, and the first part of tha Your packet will start on {{ packet.start.strftime('%A, %B %-d') }} at {{ packet.start.strftime('%-I:%M %p') }} -You can view your packet at freshmen-packet.csh.rit.edu with the credentials you should have been sent. +You can view your packet at {{ config["PROTOCOL"] + config["PACKET_INTRO"] }} with the credentials you should have been sent. If you don't know your credentials, reach out to an RTP If you have any questions about Packet or the introductory process, email evals@csh.rit.edu diff --git a/packet/utils.py b/packet/utils.py index 5c7481b4..cc412066 100644 --- a/packet/utils.py +++ b/packet/utils.py @@ -63,7 +63,7 @@ def wrapped_function(*args, **kwargs): username = str(session["userinfo"].get("preferred_username", "")) if ldap_is_intromember(ldap_get_member(username)): app.logger.warn("Stopped intro member {} from accessing upperclassmen packet".format(username)) - return redirect("https://freshmen-packet.csh.rit.edu", code=301) + return redirect(app.config["PROTOCOL"] + app.config["PACKET_INTRO"], code=301) return func(*args, **kwargs)