Update auth.go
This commit is contained in:
parent
cd3c31eba9
commit
3afd7c2eda
@ -196,7 +196,7 @@ func (con Connection) signIn(c *gin.Context) {
|
||||
func (con Connection) verify(c *gin.Context) {
|
||||
claims, exists := c.Get("claims")
|
||||
if !exists {
|
||||
fmt.Println("No Claims")
|
||||
log.Println("No Claims")
|
||||
c.AbortWithStatus(403)
|
||||
return
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user