cardcaldav/database/queries/auth.sql

6 lines
96 B
SQL

-- name: GetPasswordHash :one
SELECT password
FROM mailbox
WHERE username = ?
AND active > 0;