mirror of
https://github.com/thomiceli/opengist.git
synced 2025-06-21 09:17:59 +02:00
Change redirections when not logged in
This commit is contained in:
@ -300,7 +300,7 @@ func logged(next echo.HandlerFunc) echo.HandlerFunc {
|
||||
if user != nil {
|
||||
return next(ctx)
|
||||
}
|
||||
return redirect(ctx, "/all")
|
||||
return redirect(ctx, "/login")
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user