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
configuredeploy:deploy-to-flydevShellx86_64-linuxbackendbackend-devcheck-bashcheck-frontendcheck-go-formattingcheck-go-test-packagescheck-trailing-newlinecheck-trailing-whitespacedeploy-to-flydiagramdocker-imagee2e-testsgo-testsimport-from-tinybeansjs-testslint-sqllittle-momentslittle-moments-devx86_64-linux