Skip to content

User Authentication #1

@TheTechTravis

Description

@TheTechTravis

New User Visits

Given a user wants to use Strain Brain
When the user first accesses the application
Then the user should see a login form
And the user should see a registration form

Previously Authenticated User

Given a user wants to use Strain Brain
When the user has previously authenticated (i.e. a activeUser token exists in local storage)
Then the user should see the Strain Brain UI components

New User Registration

Given the user fills out the registration form
When the user clicks the Register button
And the username is unique
Then the login and register form should disappear and the main Strain Brain components should be rendered

Existing User Login (if localStorage is cleared)

Given the user fills out the login form
When the user clicks the Login button
And the username exists
And the password matches the stored password for the username
Then the login and register form should disappear and the main Strain Brain components should be rendered

Metadata

Metadata

Assignees

Labels

MVPA feature required to meet MVP

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions