mirror of
				https://github.com/cinnyapp/cinny.git
				synced 2025-11-04 06:20:28 +03:00 
			
		
		
		
	Fixed login username regex
This commit is contained in:
		
							parent
							
								
									026f835a87
								
							
						
					
					
						commit
						896738dc22
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -13,7 +13,7 @@ import Spinner from '../../atoms/spinner/Spinner';
 | 
			
		|||
 | 
			
		||||
import CinnySvg from '../../../../public/res/svg/cinny.svg';
 | 
			
		||||
 | 
			
		||||
const USERNAME_REGEX = /^[a-z0-9_-]+$/;
 | 
			
		||||
const USERNAME_REGEX = /^[a-z0-9_\-.=/]+$/;
 | 
			
		||||
const BAD_USERNAME_ERROR = 'Username must contain only lowercase letters, numbers, dashes and underscores.';
 | 
			
		||||
 | 
			
		||||
const PASSWORD_REGEX = /.+/;
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue