| 
				
			 | 
			
			
				@@ -57,7 +57,6 @@ func Auth(authKey string, session Session) gin.HandlerFunc { 
			 | 
		
	
		
			
			| 
				57
			 | 
			
				57
			 | 
			
			
				 				if expired == 0 && tokenFromCookie == "" { 
			 | 
		
	
		
			
			| 
				58
			 | 
			
				58
			 | 
			
			
				 					if session.DeleteJwtToken(token.Raw) { 
			 | 
		
	
		
			
			| 
				59
			 | 
			
				59
			 | 
			
			
				 						ctx.AbortWithStatusJSON(http.StatusUnauthorized, gin.H{"msg": "auth failed, token expired"}) 
			 | 
		
	
		
			
			| 
				60
			 | 
			
				
			 | 
			
			
				- 
			 | 
		
	
		
			
			| 
				61
			 | 
			
				60
			 | 
			
			
				 					} else { 
			 | 
		
	
		
			
			| 
				62
			 | 
			
				61
			 | 
			
			
				 						ctx.AbortWithStatusJSON(http.StatusUnauthorized, gin.H{"msg": "auth failed, delete server token failed"}) 
			 | 
		
	
		
			
			| 
				63
			 | 
			
				62
			 | 
			
			
				 					} 
			 |