Skip to content

Commit 2bf1aa8

Browse files
authored
Email: trust GH and GL emails and mark them as verified (#10357)
This will reduce the amount of emails we send and also provide a better UX to users registering in our platform. Related readthedocs/readthedocs-ops#1269
1 parent acc6bb5 commit 2bf1aa8

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

readthedocs/settings/base.py

+2
Original file line numberDiff line numberDiff line change
@@ -742,6 +742,7 @@ def DOCKER_LIMITS(self):
742742

743743
SOCIALACCOUNT_PROVIDERS = {
744744
'github': {
745+
"VERIFIED_EMAIL": True,
745746
'SCOPE': [
746747
'user:email',
747748
'read:org',
@@ -750,6 +751,7 @@ def DOCKER_LIMITS(self):
750751
],
751752
},
752753
'gitlab': {
754+
"VERIFIED_EMAIL": True,
753755
'SCOPE': [
754756
'api',
755757
'read_user',

0 commit comments

Comments
 (0)