2024-10-23 16:16:47 +03:00
|
|
|
<?php
|
|
|
|
|
|
|
|
$secure_config = [
|
2024-12-19 12:53:55 +03:00
|
|
|
'web_auth_type' => 'login_password', // login_password, email_code
|
2024-12-18 12:46:57 +03:00
|
|
|
'token_type' => 'hash', // random_bytes, md5, crypt, hash, JWT
|
2024-10-23 16:16:47 +03:00
|
|
|
'token_expired_time' => "+30 days", // +1 day
|
|
|
|
];
|
|
|
|
|
|
|
|
\kernel\App::$secure = $secure_config;
|