Feature #1011
Updated by Vladimir Krisyuk over 6 years ago
h2. User should be able to recover his password or username *Precondition:* User’s is registered in DML Connect h2. *forgot password* * When User clicks on the forgot password link: * The the app opens the “Forgot password” screen with the “Enter Username” input and [Send via SMS ][Send by Email ] buttons. * Text on the screen: "Just enter your username and we'll send you a link to reset your password" * User chooses how he wants to receive temporary password. # [Send via SMS ] - should send generated password via sms to the User’s mobile. # [Send by Email ] - should send generated password via sms to the User’s email. * When user Sign in with the temporary password, then the home screen should show popup window where user must set the new password. * The password should have an expiration time (10 min) *Negative flow:* When user enters username and it's not found in DB then show error Message: _"User not found." _ h2. forgot username * When User clicks on the forgot username link: * Then app should open “Forget username” screen with the same buttons as for forgot password. * Text on the screen: "Please provide email address associated with your account" * User should receive the username via SMS or Email. And no other actions are required. * User may Sign in with username and his usual password. *Negative flow:* When user enters email address and it's not found in db then show error Message: _"User with such email address not found. Conact MDL support to gain access."_ ------------- mockups: * 4.forgot password * 4.1.Forgot username * 5.Forgot password - recovery is sent * 11.1 home screen - set the new password * 1.Sign in