From 7515e82d3412cc6faf7d52fdffe731aebe7561ef Mon Sep 17 00:00:00 2001 From: Thomas Miceli <27960254+thomiceli@users.noreply.github.com> Date: Mon, 3 Jul 2023 16:31:03 +0200 Subject: [PATCH] Revert redirection when not logged to /all (#76) --- internal/web/run.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/web/run.go b/internal/web/run.go index ec009c4..edee67f 100644 --- a/internal/web/run.go +++ b/internal/web/run.go @@ -321,7 +321,7 @@ func logged(next echo.HandlerFunc) echo.HandlerFunc { if user != nil { return next(ctx) } - return redirect(ctx, "/login") + return redirect(ctx, "/all") } }