mirror of
https://github.com/thomiceli/opengist.git
synced 2025-01-10 18:12:39 +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 {
|
if user != nil {
|
||||||
return next(ctx)
|
return next(ctx)
|
||||||
}
|
}
|
||||||
return redirect(ctx, "/login")
|
return redirect(ctx, "/all")
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue