warn to user it's the last paper code
Bug #1648775 reported by
Julia Palandri
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Canonical SSO provider |
Fix Released
|
Medium
|
James Tait |
Bug Description
when the user use a finite set of codes (such as paper) it's not clear for them they have to generate a new set of codes at most while using their last code (and not just after!)
can we add a warning either in the paper they print and/or when they log in, instructing them to get more codes while that session?
thanks
Related branches
lp:~jamestait/canonical-identity-provider/lp1648775-force-exhausted-paper-renewal
- Ricardo Kirkner (community): Approve
-
Diff: 341 lines (+109/-22)9 files modifiedsrc/identityprovider/tests/utils.py (+1/-1)
src/webui/templates/common/printed_codes_nearly_exhausted_warning.html (+2/-2)
src/webui/templates/device/print-codes.html (+6/-2)
src/webui/tests/test_views_account.py (+3/-3)
src/webui/tests/test_views_devices.py (+25/-3)
src/webui/tests/test_views_ui.py (+37/-1)
src/webui/urls.py (+11/-5)
src/webui/views/devices.py (+15/-5)
src/webui/views/ui.py (+9/-0)
lp:~jamestait/canonical-identity-provider/lp1648775-email-reminder-of-paper-exhaustion
- Daniel Manrique (community): Approve
-
Diff: 273 lines (+176/-3)6 files modifiedsrc/identityprovider/emailutils.py (+20/-0)
src/identityprovider/templates/email/printed-codes-nearly-exhausted-warning.txt (+19/-0)
src/identityprovider/tests/test_emailutils.py (+71/-0)
src/webui/tests/test_views_account.py (+2/-2)
src/webui/tests/test_views_ui.py (+56/-0)
src/webui/views/ui.py (+8/-1)
summary: |
- warn to user it's the last code + warn to user it's the last paper code |
Changed in canonical-identity-provider: | |
assignee: | nobody → James Tait (jamestait) |
status: | New → Triaged |
importance: | Undecided → Medium |
Changed in canonical-identity-provider: | |
status: | Triaged → Fix Released |
To post a comment you must log in.