Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support: update contact information via Front webhook #8406

Merged
merged 3 commits into from
Aug 24, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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