Skip to content

Commit

Permalink
Support: update contact information via Front webhook (#8406)
Browse files Browse the repository at this point in the history
  • Loading branch information
stsewd authored Aug 24, 2021
1 parent 92f6224 commit 6d3cb4b
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 9 deletions.
2 changes: 1 addition & 1 deletion readthedocs/settings/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ class CommunityBaseSettings(Settings):
def SESSION_COOKIE_SAMESITE(self):
"""
Cookie used in cross-origin API requests from *.rtd.io to rtd.org/api/v2/sustainability/.
"""
"""
if self.USE_PROMOS:
return None
# This is django's default.
Expand Down
8 changes: 0 additions & 8 deletions readthedocs/templates/support/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -120,14 +120,6 @@ <h2 id="user-support">User Support</h2>
{% endif %}
</div>


{% if request.user.is_authenticated %}
<input type="hidden" name="username" value="{{ request.user.username }}">
<input type="hidden" name="pk" value="{{ request.user.pk }}">
{% else %}
<input type="hidden" name="auth" value="Unknown">
{% endif %}

<input type="hidden" name="subject" value="Community Support Request">

<input type="submit" value="Submit support request">
Expand Down

0 comments on commit 6d3cb4b

Please sign in to comment.