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