zulip/templates
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
..
analytics activity: Extract most js from realm_summary_table to activity.js. 2019-06-14 10:20:59 -07:00
confirmation HTML validation: Remove obsolete attributes from <script>, <style>. 2018-07-13 10:27:23 +05:30
corporate billing: Seperate out tests for invoice and autopay form fields. 2019-05-30 10:34:56 -07:00
tests webhooks/freshdesk/doc.md: Render example JSON correctly. 2018-08-17 08:55:41 -07:00
two_factor two_factor: Add templates for 2-factor-auth setup. 2018-05-02 15:20:49 -07:00
zerver auth: Let user choose emails in GitHub auth. 2019-06-23 21:27:04 -07:00
zilencer billing: Move billing related templates from zilencer to corporate. 2018-10-01 15:43:39 -07:00
.gitignore
404.html Make 4xx and 5xx pages full screen. 2017-08-08 11:58:22 -07:00
500.html Make 4xx and 5xx pages full screen. 2017-08-08 11:58:22 -07:00