d8db281b

Author: Michael Lynch <git@mtlynch.io>

Committer: Michael Lynch <mtlynch@noreply.codeberg.org>

Return ErrUnregisteredEmail from NewSender instead of empty entry (#198)

NewSender now returns a magiclogin.ErrUnregisteredEmail error for
unknown addresses instead of silently returning an empty token entry.
Callers handle the error explicitly and redirect to /login/check-email.

Inline LoginConfirmPath into the dev creator and remove login_redirect.go.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

Reviewed-on: https://codeberg.org/mtlynch/little-moments/pulls/198

Suite timing

Time to Start Worker time Duration Time to finish Idle
Config 1s 7s 7s 9s 1s
Eval 8s 35s 35s 43s 0s
Build 12s 1m00s 17s 30s 0s
Suite 1s 1m43s 41s 43s 1s

Timeline

0s10s20s30s40s