mirror of
				https://github.com/TitanEmbeds/Titan.git
				synced 2025-11-04 07:47:10 +01:00 
			
		
		
		
	Fix guest username alphanumeric in api
This commit is contained in:
		@@ -287,7 +287,7 @@ def create_unauthenticated_user():
 | 
			
		||||
    username = username.strip()
 | 
			
		||||
    if len(username) < 2 or len(username) > 32:
 | 
			
		||||
        abort(406)
 | 
			
		||||
    if not all(x.isalpha() or x.isspace() or "-" == x or "_" == x for x in username):
 | 
			
		||||
    if not all(x.isalnum() or x.isspace() or "-" == x or "_" == x for x in username):
 | 
			
		||||
        abort(406)
 | 
			
		||||
    if not check_guild_existance(guild_id):
 | 
			
		||||
        abort(404)
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user