remove csrf
This commit is contained in:
parent
5106b73699
commit
eca12a6587
|
@ -55,11 +55,11 @@ func configRoutes(r *gin.Engine) {
|
||||||
pages := r.Group("/api/n9e")
|
pages := r.Group("/api/n9e")
|
||||||
|
|
||||||
{
|
{
|
||||||
/*
|
|
||||||
pages.GET("/csrf", func(c *gin.Context) {
|
pages.GET("/csrf", func(c *gin.Context) {
|
||||||
renderData(c, csrf.GetToken(c), nil)
|
// renderData(c, csrf.GetToken(c), nil)
|
||||||
})
|
renderData(c, "not supported", nil)
|
||||||
*/
|
})
|
||||||
|
|
||||||
pages.GET("/roles", rolesGet)
|
pages.GET("/roles", rolesGet)
|
||||||
pages.GET("/self/profile", selfProfileGet)
|
pages.GET("/self/profile", selfProfileGet)
|
||||||
|
|
Loading…
Reference in New Issue