Skip to content

Commit fb0bb54

Browse files
committed
Define SUPPORT_EMAIL setting and use it where its needed
1 parent 4709ea6 commit fb0bb54

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

readthedocs/settings/base.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ class CommunityBaseSettings(Settings):
5959
# Email
6060
DEFAULT_FROM_EMAIL = '[email protected]'
6161
SERVER_EMAIL = DEFAULT_FROM_EMAIL
62-
SUPPORT_EMAIL = None
62+
SUPPORT_EMAIL = '[email protected]'
6363

6464
# Sessions
6565
SESSION_COOKIE_DOMAIN = 'readthedocs.org'

readthedocs/templates/core/project_bar_base.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ <h1>
3131
{% blocktrans trimmed %}
3232
Your project is currently disabled for abuse of the system.
3333
Please make sure it isn't using unreasonable amounts of resources or triggering lots of builds in a short amount of time.
34-
Please <a href="mailto:[email protected]">contact support</a> to get your project re-enabled.
34+
Please <a href="mailto:{{ settings.SUPPORT_EMAIL }}">contact support</a> to get your project re-enabled.
3535
{% endblocktrans %}
3636
</p>
3737
<br>

0 commit comments

Comments
 (0)