Broaden verification account lookup
mindflux-ci / build (push) Successful in 15s

This commit is contained in:
AliceDarkest
2026-07-15 12:12:25 +02:00
parent 664e3adaeb
commit 742f19db8c
+2 -2
View File
@@ -40,6 +40,6 @@ jobs:
}
# Einmalige Diagnose für den neu angelegten Account; Tokens selbst werden nie ausgegeben.
docker exec postgres psql -At -U mindflux -d mindfluxdb \
-c "SELECT username, email_verified FROM users WHERE username = 'lostatwonderland' AND lower(email) = lower('alicedarkest@gmx.de');"
-c "SELECT username, email_verified FROM users WHERE lower(email) = lower('alicedarkest@gmx.de');"
docker exec postgres psql -At -U mindflux -d mindfluxdb \
-c "SELECT t.purpose, t.expires_at > CURRENT_TIMESTAMP, t.consumed_at IS NULL FROM account_email_tokens t JOIN users u ON u.id = t.user_id WHERE u.username = 'lostatwonderland' AND lower(u.email) = lower('alicedarkest@gmx.de');"
-c "SELECT t.purpose, t.expires_at > CURRENT_TIMESTAMP, t.consumed_at IS NULL FROM account_email_tokens t JOIN users u ON u.id = t.user_id WHERE lower(u.email) = lower('alicedarkest@gmx.de');"