mirror of
				https://github.com/ClusterCockpit/cc-backend
				synced 2025-11-04 09:35:07 +01:00 
			
		
		
		
	Merge pull request #384 from brinkcoder/fix/auth-log-iperr
[BUGFIX] correct wrong variable in AuthApi error logging
This commit is contained in:
		@@ -331,7 +331,7 @@ func (auth *Authentication) AuthApi(
 | 
			
		||||
 | 
			
		||||
		ipErr := securedCheck(user, r)
 | 
			
		||||
		if ipErr != nil {
 | 
			
		||||
			log.Infof("auth api -> secured check failed: %s", err.Error())
 | 
			
		||||
			log.Infof("auth api -> secured check failed: %s", ipErr.Error())
 | 
			
		||||
			onfailure(rw, r, ipErr)
 | 
			
		||||
			return
 | 
			
		||||
		}
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user