Open Kate-v2 opened 5 years ago
As a VISITOR/USER, When I visit the landing page, I can see a button to log-in. When I click this button, a form is exposed and I enter:
and hit submit. If I have an account, I will be logged in, and the page will indicate I'm logged in and I will no longer see a login button.
POST /api/v1/sessions Content-Type: application/json Accept: application/json
{ "email": "whatever@example.com", "password": "password" }
status: 200 body:
{ "api_key": "jgn983hy48thw9begh98h4539h4", }
As a VISITOR/USER, When I visit the landing page, I can see a button to log-in. When I click this button, a form is exposed and I enter:
and hit submit. If I have an account, I will be logged in, and the page will indicate I'm logged in and I will no longer see a login button.