sjacorg / bayanat

Open source data management solution for human rights documentation.
https://bayanat.org/
GNU Affero General Public License v3.0
22 stars 15 forks source link

Unable to login on fresh install #36

Open zhabiba24 opened 2 hours ago

zhabiba24 commented 2 hours ago

Describe the bug I've deployed an instance of bayanat according to your documentation. I've created an admin user and can access the site but I can't login when I try to use those credentials.

To Reproduce Steps to reproduce the behavior:

  1. Go to home page
  2. Enter same user and password given with flask
  3. Get invalid login message

Expected behavior Should be able to login with account

Logs

p 24 21:38:23 2024] POST /login => generated 24458 bytes in 27 msecs (HTTP/1.0 200) 4 headers in 240 bytes (1 switches on core 1)

not very helpful... Browser information Firefox

Browser console No error messages

Additional context Have reset password with flask reset and get the same issue. Created a new user with flask commands and couldn't login with them either.

zhabiba24 commented 2 hours ago

I've got a shell in the database and can see the users exist select * from public.user; gives back the records. I also just dropped the DB and recreated it; getting the same error.