mirror of
https://github.com/thomiceli/opengist.git
synced 2025-05-14 00:02:10 +02:00
Revert redirection when not logged to /all (#76)
This commit is contained in:
parent
add0299442
commit
7515e82d34
@ -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")
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user