Cognito: Add missing double quota to special characters. (#6173)
This commit is contained in:
		
							parent
							
								
									6c32c089a1
								
							
						
					
					
						commit
						9f91ac0eb9
					
				| @ -1999,7 +1999,7 @@ class CognitoIdpBackend(BaseBackend): | ||||
|         # If we require symbols, we assume False - and check a symbol is present | ||||
|         # If we don't require symbols, we assume True - and we could technically skip the for-loop | ||||
|         flag_sc = not require_symbols | ||||
|         sc = "^ $ * . [ ] { } ( ) ? ! @ # % & / \\ , > < ' : ; | _ ~ ` = + -" | ||||
|         sc = "^ $ * . [ ] { } ( ) ? \" ! @ # % & / \\ , > < ' : ; | _ ~ ` = + -" | ||||
|         for i in password: | ||||
|             if i in sc: | ||||
|                 flag_sc = True | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user