Commit 8c8ff10
authored
Allow 'unverified accounts' with 2FA enabled to change primary email (#18994)
* Make change_primary_email view available to unverified users
* Guard against unverified users without 2FA in the view
* Add dropdown to make secondary email primary
* Tweak callout based on whether user has 2FA
* Update translations1 parent c72ce4a commit 8c8ff10
File tree
4 files changed
+273
-192
lines changed- tests/unit/manage
- warehouse
- locale
- manage/views
- templates/manage
4 files changed
+273
-192
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
578 | 578 | | |
579 | 579 | | |
580 | 580 | | |
| 581 | + | |
| 582 | + | |
| 583 | + | |
| 584 | + | |
| 585 | + | |
| 586 | + | |
| 587 | + | |
| 588 | + | |
| 589 | + | |
| 590 | + | |
| 591 | + | |
| 592 | + | |
| 593 | + | |
| 594 | + | |
| 595 | + | |
| 596 | + | |
| 597 | + | |
| 598 | + | |
| 599 | + | |
| 600 | + | |
| 601 | + | |
| 602 | + | |
| 603 | + | |
| 604 | + | |
581 | 605 | | |
582 | 606 | | |
583 | 607 | | |
| |||
0 commit comments