Skip to content

users can choose to receive password reset via SMS #1792

@Zrrrpy

Description

@Zrrrpy

Part of epic #1017, dependent on #1785, #1790, #1791, #1780, and #1782

AS a volunteer/supervisor/admin,
I WANT the option to receive a password reset link via SMS,
SO THAT I am not restricted by receiving it only via email.

How it works now

Right now, all users only have the option to receive a password reset link by email.

How it should work instead

All users should have the option to receive a password reset link via SMS.
Screen Shot 2021-02-25 at 5 53 08 PM (2)

Acceptance criteria

  • on the "forgot password" page, there should be a field for mobile number
  • the field should only accept numbers
  • field should only accept mobile numbers that are the appropriate length of a US mobile number (ten digits without +1 in the front, 11 digits if 1 is included as the first digit)
  • the text "or" should separate the email and mobile number fields so it is obvious the user only needs to enter one
  • the phone number entered must already be associated with an existing user account
  • clicking "send me reset password instructions" after entering an existing mobile number triggers an SMS notification containing a reset password link
  • that SMS should read something like:
    Click here to reset your password on casavolunteetracking.org [link]
  • clicking "send me password instructions" after entering a mobile number overrides previous opt-out preferences (so that the user can receive the one-time notification they are requesting)

Metadata

Metadata

Assignees

Labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions