9 lines
		
	
	
		
			256 B
		
	
	
	
		
			PHP
		
	
	
		
			Executable File
		
	
	
	
	
			
		
		
	
	
			9 lines
		
	
	
		
			256 B
		
	
	
	
		
			PHP
		
	
	
		
			Executable File
		
	
	
	
	
<?php
 | 
						|
 | 
						|
$secure_config = [
 | 
						|
    'web_auth_type' => 'login_password', // login_password, email_code
 | 
						|
    'token_type' => 'hash', // random_bytes, md5, crypt, hash, JWT
 | 
						|
    'token_expired_time' => "+30 days", // +1 day
 | 
						|
];
 | 
						|
 | 
						|
\kernel\App::$secure = $secure_config; |