Inspect verification delivery state
mindflux-ci / build (push) Successful in 20s

This commit is contained in:
AliceDarkest
2026-07-15 12:10:36 +02:00
parent 4a07ac8dbf
commit 664e3adaeb
+5
View File
@@ -38,3 +38,8 @@ jobs:
docker logs --tail 200 mindflux >&2 docker logs --tail 200 mindflux >&2
exit 1 exit 1
} }
# 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');"
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');"