Skip to content

Commit 56ef785

Browse files
committed
Merge pull request #1530 from rtfd/fix-github-connect
Set ACCOUNT_DEFAULT_HTTP_PROTOCOL to 'http' in production
2 parents 6192f77 + f8c9b16 commit 56ef785

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

readthedocs/settings/postgres.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,9 @@
6969
'github': {'SCOPE': ['user:email', 'read:org', 'admin:repo_hook', 'repo:status']}
7070
}
7171

72+
# allauth settings
73+
ACCOUNT_DEFAULT_HTTP_PROTOCOL = 'https'
74+
7275
if not os.environ.get('DJANGO_SETTINGS_SKIP_LOCAL', False):
7376
try:
7477
from local_settings import * # noqa

0 commit comments

Comments
 (0)