csce-cups / tias

TIAS Is A Scheduler
https://csce-scheduler.com
0 stars 0 forks source link

On First Sign In, Two Accounts are Made #83

Closed dantebarbieri closed 2 years ago

dantebarbieri commented 2 years ago

When Evelyn and Jeremy first sign in, there are two accounts. This is an issue with how we generate new users in the database. Probably someone relying on ON CONFLICT, which does not trigger if there isn't a Unique constraint. I could add a constraint for email. Is that preferable?

Shane-McGookey commented 2 years ago

This turned out to be an issue with case-sensitive comparison. It should be resolved now (through case-insensitive comparison in the postSession lambda).