mirror of
				https://github.com/elyby/accounts.git
				synced 2025-05-31 14:11:46 +05:30 
			
		
		
		
	
		
			
				
	
	
		
			14 lines
		
	
	
		
			226 B
		
	
	
	
		
			PHP
		
	
	
	
	
	
			
		
		
	
	
			14 lines
		
	
	
		
			226 B
		
	
	
	
		
			PHP
		
	
	
	
	
	
<?php
 | 
						|
namespace common\validators;
 | 
						|
 | 
						|
use common\helpers\Error as E;
 | 
						|
use yii\validators\StringValidator;
 | 
						|
 | 
						|
class PasswordValidator extends StringValidator {
 | 
						|
 | 
						|
    public $min = 8;
 | 
						|
 | 
						|
    public $tooShort = E::PASSWORD_TOO_SHORT;
 | 
						|
 | 
						|
}
 |