-
Is any of the examples (1 in docs, 2 in example code) recently tested as working? I've been scratching my head trying to make just the user setup work: I can register, and everything seems ok (no errors in logs), but when I try logging in, the user is not found. Upon checking what's wrong, I see that registration has not actually added the registered user in the database. No errors or exceptions. As far as I can tell (have checked three times), my code configures everything the same as the examples, except for using Postgres (the code sets up the User table just fine) instead of sqlite... |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments
-
Hmm I see the latest code commits are about "a fix: adhere to auto commit..." could that be the reason that the add transaction is not committed to db? |
Beta Was this translation helpful? Give feedback.
-
Update: contrary to the example in the docs (and what's missing from the code examples), I changed |
Beta Was this translation helpful? Give feedback.
-
By the way @LonelyVikingMichael thanks for your work on this library! |
Beta Was this translation helpful? Give feedback.
Update: contrary to the example in the docs (and what's missing from the code examples), I changed
auto_commit_transactions
setting to ´True´ and at least indeed now the users appear in db upon registration, and login appears to work :)