quak login: say in words why the login failed (closes #244) #255

Merged
clawbot merged 3 commits from issue-244-login-failure-reasons into next 2026-11-19 09:18:18 +01:00
3 Commits
Author SHA1 Message Date
sneak 88a6ce5b6b README: name only the password the server refuses
check / check (push) Waiting to run
The README said every wrong password prints "incorrect email or
password". With email verification on, quak never sends the password
to the server: a wrong one fails while unlocking the keys and prints
the decryption error instead.

Model: opus-5-5
2026-11-19 07:21:33 +00:00
sneak 41d3e6f72f quak login: do not call an account without SRP attributes missing
check / check (push) In progress
The Ente server answers /users/srp/attributes with 404 and the code
NOT_FOUND when the account exists but has no SRP attributes, and with
404 and {} when no account has the email. Both were reported as "no
account with this email on the server". Only a 404 whose JSON body has
no code is named that way now.

Model: opus-5-5
2026-11-19 07:04:39 +00:00
sneak 6e361ace8a quak login: say in words why the login failed (closes #244)
check / check (push) Successful in 8m39s
A password the server refuses (401 from /users/srp/verify-session) now
fails with "incorrect email or password". An email the server has no
account for (404 with a JSON body from /users/srp/attributes) fails with
"no account with this email on the server". The error stays an ApiError
with the same status. A 404 without JSON, as from a server address that
is not an Ente server, keeps the bare "HTTP 404".

Model: opus-5-5
2026-11-19 06:46:20 +00:00