numerus/test
jordi fita mas 97ac586a3b “Merge” find_user_role and login
I honestly do not remember why i thought i needed the find_user
function: it is just a select with a query that i only need in a single
place—when login.

I belive it was a missguided attempt to “write the function safer”, in
hopes that calling a function won’t have the same problems as when
querying a table, but this is fixed with the search_path, that i added.

There is no pgTAP for this, i believe.
2023-01-17 13:18:12 +01:00
..
email.sql Setup authentication schema and user relation 2023-01-13 20:30:21 +01:00
encrypt_password.sql Setup authentication schema and user relation 2023-01-13 20:30:21 +01:00
ensure_role_exists.sql Setup authentication schema and user relation 2023-01-13 20:30:21 +01:00
extensions.sql Setup authentication schema and user relation 2023-01-13 20:30:21 +01:00
login.sql Create pgcrypto extension into auth schema 2023-01-17 13:12:18 +01:00
roles.sql Setup authentication schema and user relation 2023-01-13 20:30:21 +01:00
schemas.sql Setup authentication schema and user relation 2023-01-13 20:30:21 +01:00
user.sql Setup authentication schema and user relation 2023-01-13 20:30:21 +01:00