9acdd309

Author: Michael Lynch <git@mtlynch.io>

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

Redirect signed-in users from replayed magic links (#344)

When a valid session belongs to the user who consumed a magic link, redirect a
subsequent use of that link to the root route. Other replay attempts remain
rejected.

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

Suite timing

Time to Start Worker time Duration Time to finish Idle
Config 2s 12s 12s 15s 2s
Eval 11s 33s 33s 44s 0s
Build 26s 7m36s 1m47s 2m13s 0s
Deploy 2m21s 3m44s 3m44s 6m06s 8s
Suite 2s 12m06s 6m03s 6m06s 10s

Timeline

0s1m2m3m4m5m6m