mirror of
https://github.com/thomiceli/opengist.git
synced 2024-12-22 20:42:40 +00:00
Revert redirection when not logged to /all (#76)
This commit is contained in:
parent
add0299442
commit
7515e82d34
1 changed files with 1 additions and 1 deletions
|
@ -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…
Reference in a new issue