mirror of
https://github.com/thomiceli/opengist.git
synced 2025-07-08 09:01:20 +02:00
Revert redirection when not logged to /all (#76)
This commit is contained in:
@ -321,7 +321,7 @@ func logged(next echo.HandlerFunc) echo.HandlerFunc {
|
|||||||
if user != nil {
|
if user != nil {
|
||||||
return next(ctx)
|
return next(ctx)
|
||||||
}
|
}
|
||||||
return redirect(ctx, "/login")
|
return redirect(ctx, "/all")
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user