mirror of
https://github.com/Oreolek/ifhub.club.git
synced 2024-07-03 06:55:03 +03:00
Защищаем куки от воровства через яваскрипт
This commit is contained in:
parent
b1630489d8
commit
39e4710a56
|
@ -522,7 +522,7 @@ class ModuleUser extends Module {
|
|||
* Ставим куку
|
||||
*/
|
||||
if ($bRemember) {
|
||||
setcookie('key',$sKey,time()+Config::Get('sys.cookie.time'),Config::Get('sys.cookie.path'),Config::Get('sys.cookie.host'));
|
||||
setcookie('key',$sKey,time()+Config::Get('sys.cookie.time'),Config::Get('sys.cookie.path'),Config::Get('sys.cookie.host'),false,true);
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue