Open Yousuf24100286 opened 1 month ago
Writing user stories to cater to issue
User fills the sign up form and clicks the sign up button. User is redirected to email verification screen which states that a 6 digit numeric code is sent to your email. User retrieves and input the code and is landed into the platform. One thing to note here is that email verification form should have timeout. On expiry, user should be redirected to sign in page and as user signs in, system checks isUserVerified and if false, it should again be redirected to email verification screen.
Edge cases to email verification
On forget password: User inputs email and gets verification code and after successful verification, user should be able to able to change the password and after that session should start and user should land inside the portal.
Description: Add session management for user via database session. and start and expiry of user session from browser and database.
Tasks: Implement an abstract sign-in functionality which takes email and password and starts a new user session Implement an abstract sign-out functionality which deletes the current user session if there is any
Use Cases:
Concerns Raised for @adeel838 to answer