Revert redirection when not logged to /all (#76)

This commit is contained in:
Thomas Miceli 2023-07-03 16:31:03 +02:00 committed by GitHub
parent add0299442
commit 7515e82d34
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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")
}
}