mirror of
https://github.com/zulip/zulip.git
synced 2025-11-03 05:23:35 +00:00
auth: Remove @users.noreply.github.com from the email selection list.
Apparently GitHub changed the email address for these; we need to update our code accordingly. One cannot receive emails on the username@users.noreply.github.com, so if someone tries creating an account with this email address, that person would not be able to verify the account.
This commit is contained in:
committed by
Tim Abbott
parent
0db9afe605
commit
d4ccd73ae3
@@ -1113,7 +1113,7 @@ class GitHubAuthBackendTest(SocialAuthBase):
|
||||
# As emails ending with `noreply.github.com` are excluded from
|
||||
# verified_emails, choosing it as an email should raise a `email
|
||||
# not associated` warning.
|
||||
account_data_dict = dict(email="hamlet@noreply.github.com", name=self.name)
|
||||
account_data_dict = dict(email="hamlet@users.noreply.github.com", name=self.name)
|
||||
email_data = [
|
||||
dict(email="notprimary@zulip.com",
|
||||
verified=True),
|
||||
|
||||
Reference in New Issue
Block a user