cad7ce71

Author: Michael Lynch <git@mtlynch.io>

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

Rate limit shared-secret login attempts (#150)

Add an in-memory rate limiter for shared-secret authentication attempts. Repeated login attempts now return 429 after exhausting the 24-hour limit.

Reviewed-on: https://codeberg.org/mtlynch/little-moments/pulls/150
configuredevShellbackendbackend-devcheck-bashcheck-frontendcheck-go-formattingcheck-go-test-packagescheck-trailing-newlinecheck-trailing-whitespacediagramdocker-imagee2e-testsgo-testsimport-from-tinybeanslint-sqllittle-momentslittle-moments-devx86_64-linux