2024-10-22 16:40:40 +03:00
|
|
|
<?php
|
|
|
|
|
|
|
|
$secure_config = [
|
2024-12-05 14:31:04 +03:00
|
|
|
'web_auth_type' => 'email_code', // login_password, email_code
|
2024-12-13 17:29:36 +03:00
|
|
|
'token_type' => 'hash', // random_bytes, md5, crypt, hash, JWT
|
2024-10-22 16:40:40 +03:00
|
|
|
'token_expired_time' => "+30 days", // +1 day
|
|
|
|
];
|
|
|
|
|
|
|
|
\kernel\App::$secure = $secure_config;
|