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) {
|
func (con Connection) verify(c *gin.Context) {
|
||||||
claims, exists := c.Get("claims")
|
claims, exists := c.Get("claims")
|
||||||
if !exists {
|
if !exists {
|
||||||
fmt.Println("No Claims")
|
log.Println("No Claims")
|
||||||
c.AbortWithStatus(403)
|
c.AbortWithStatus(403)
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user