mirror of
				https://github.com/steveiliop56/tinyauth.git
				synced 2025-10-31 06:05:43 +00:00 
			
		
		
		
	fix: bot suggestions
This commit is contained in:
		| @@ -268,7 +268,7 @@ func (auth *Auth) ResourceAllowed(c *gin.Context, context types.UserContext, lab | ||||
| 	// Check if oauth is allowed | ||||
| 	if context.OAuth { | ||||
| 		log.Debug().Msg("Checking OAuth whitelist") | ||||
| 		return utils.CheckWhitelist(labels.OAuthWhitelist, context.Username) | ||||
| 		return utils.CheckWhitelist(labels.OAuthWhitelist, context.Email) | ||||
| 	} | ||||
|  | ||||
| 	// Check users | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Stavros
					Stavros