More work on the api. Also auth middleware stuff

More work on the placeholder functions for the Linstrom API
Additionally, started work on a slightly more sophisticated
authentication control system
And ran `go generate` again
This commit is contained in:
Melody Becker 2024-10-31 16:53:42 +01:00
parent b9c95a0297
commit 873f52d64f
14 changed files with 637 additions and 300 deletions

View file

@ -51,7 +51,7 @@ func fuckWithRegisterRequest(
) {
log := hlog.FromRequest(r)
log.Debug().Msg("Messing with register start request")
store := StorageFromRequest(w, r)
store := StorageFromRequest(r)
if store == nil {
return
}
@ -147,7 +147,7 @@ func fuckWithLoginRequest(
) {
log := hlog.FromRequest(r)
log.Debug().Msg("Messing with login start request")
store := StorageFromRequest(w, r)
store := StorageFromRequest(r)
if store == nil {
return
}