clean up callback to dashboard url 😭
This commit is contained in:
parent
6a08afbf52
commit
96320c3cc4
1 changed files with 1 additions and 1 deletions
|
@ -100,7 +100,7 @@ func RegisterAuthRoutes(cfg *types.StereoConfig, api *gin.RouterGroup) {
|
|||
})
|
||||
*/
|
||||
c.SetCookie("jwt", jwt, int(t.ExpiresIn), "", cfg.Domain, true, true)
|
||||
c.Redirect(http.StatusTemporaryRedirect, cfg.FrontendUri+"/dashboard?jwt_set=true")
|
||||
c.Redirect(http.StatusTemporaryRedirect, cfg.FrontendUri+"/dashboard")
|
||||
})
|
||||
|
||||
api.GET("/auth/me", session.SessionMiddleware(cfg.JWTSecret), func(c *gin.Context) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue