Files
lovasoa 7399b1084a Fix basic auth test assertions
Use "Unauthorized" instead of "not authorized" to match the expected
response.

Add tests for basic auth error cases.
2025-09-15 14:01:28 +02:00

6 lines
327 B
SQL

SELECT 'authentication' AS component,
'$argon2i$v=19$m=8,t=1,p=1$YWFhYWFhYWE$oKBq5E8XFTHO2w' AS password_hash, -- this is a hash of the password 'password'
sqlpage.basic_auth_password() AS password; -- this is the password that the user entered in the browser popup
SELECT 'text' AS component, 'Success!' AS contents;