zulip/static
Shubham Padia 80a3651cf3 auth: Let user choose emails in GitHub auth.
Previously, our Github authentication backend just used the user's
primary email address associated with GitHub, which was a reasonable
default, but quite annoying for users who have several email addresses
associated with their GitHub account.

We fix this, by adding a new screen where users can select which of
their (verified) GitHub email addresses to use for authentication.

This is implemented using the "partial" feature of the
python-social-auth pipeline system.

Each email is displayed as a button. Clicking on that button chooses
the email. The email value is stored in a hidden input above the
button. The `primary_email` is displayed on top followed by
`verified_non_primary_emails`. Backend name is also passed as
`backend` to the template, which in our case is GitHub.

Fixes #9876.
2019-06-23 21:27:04 -07:00
..
assets images: Add header design for Zulip Twitter account. 2019-05-31 15:24:56 -07:00
audio notifications: Add a setting for changing the notification sound. 2018-12-09 21:25:30 -08:00
generated
html
icons/fonts CSS: Remove manual antialiasing configuration. 2019-03-04 15:12:48 -08:00
images portico: Remove core-team profiles from /team. 2019-06-03 12:14:40 -07:00
js devtools: Tweak the integrations tool to use http headers fixtures. 2019-06-20 16:40:42 -07:00
locale i18n: Update translation data from Transifex. 2019-06-03 15:29:56 -07:00
styles auth: Let user choose emails in GitHub auth. 2019-06-23 21:27:04 -07:00
templates css: Convert colors from rgba to hsla format. 2019-06-20 11:34:59 -07:00
third admin_settings: Change maxfilesize to max_file_upload_size. 2019-05-03 17:36:09 -07:00
.gitignore tools: Move generate-custom-icon-webfont to a subdirectory. 2018-08-09 15:39:57 -07:00
favicon.ico
node_modules