fix: remove logs
This commit is contained in:
parent
d65edcc47a
commit
d4b295320e
|
@ -1,8 +1,6 @@
|
|||
package utils
|
||||
|
||||
import (
|
||||
"log"
|
||||
|
||||
"github.com/gin-gonic/gin"
|
||||
"github.com/yauthdev/yauth/server/constants"
|
||||
)
|
||||
|
@ -15,8 +13,6 @@ func SetCookie(gc *gin.Context, token string) {
|
|||
secure = false
|
||||
}
|
||||
host := GetFrontendHost()
|
||||
log.Println("-> is cookie secure", secure)
|
||||
log.Println("-> host:", host)
|
||||
|
||||
gc.SetCookie(constants.COOKIE_NAME, token, 3600, "/", host, secure, httpOnly)
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user