Closed Raghuboi closed 2 years ago
If we're pushing schema changes to the main branch, we should make sure that there's a proper migration script inside of config/db/migrations.js.
Ideally if this gets merged, I should be able to pull and startup my server just fine, but you're referencing some tables that don't exist in the current schema for your MySQL session store.
I understand, I have added it in migrations now
fixed bug where an invalid email login lookup returns status code 500 instead of a 401 (email not found in database)
implemented logic through which a successful login returns a cookie with a randomized id, and should insert it into the database provided it has the correct table and schema.
We don't actually do anything with the sessions yet, still have to implement use cases for that.