Skip to content

Commit

Permalink
fix wrong redirect status code, how did this get overlooked...?
Browse files Browse the repository at this point in the history
  • Loading branch information
equinox0815 committed Nov 13, 2023
1 parent 96d4aa7 commit c8e5e1d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/whawty-nginx-sso/web.go
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ func (h *HandlerContext) handleLoginPost(c *gin.Context) {
})
return
}
c.Redirect(http.StatusTemporaryRedirect, redirect)
c.Redirect(http.StatusSeeOther, redirect)
}

func (h *HandlerContext) handleLogout(c *gin.Context) {
Expand Down

0 comments on commit c8e5e1d

Please sign in to comment.