OrangeIguanas / Bangazon-cli

0 stars 0 forks source link

Add password / login capabilities #11

Open stevebrownlee opened 7 years ago

stevebrownlee commented 7 years ago

Story

As a customer of Bangazon

In order to purchase items currently for sale securely

I want to add a password to my account so that other customers cannot access mine

Scenarios

Given that a customer wants to use Bangazon CLI to purchase items

When the initial menu is presented to the customer

Then the Choose Active Customer menu item should be removed

And it should be replaced with a Log in to my account item


Given that a customer wants to use Bangazon CLI to purchase items

When the customer chooses to create a new account

Then a password must be entered in for their profile, in addition to all current information


Given that a customer has an account

When the customer selects the Log in to my account item

Then the customer should be prompted for their first name, last name, and password


Given that a customer has logged in to the system

When the main menu is displayed

Then there should be a Log out menu item

And the Log in to my account item should not be visible

ref: hashlib