mirror of https://github.com/itflow-org/itflow
Add httponly setting to cookies in check_login before session starts there too. Extension of pull #253
This commit is contained in:
parent
e9b7600781
commit
8d5a8edada
|
|
@ -1,6 +1,8 @@
|
|||
<?php
|
||||
|
||||
if(!isset($_SESSION)){
|
||||
// HTTP Only cookies
|
||||
ini_set("session.cookie_httponly", True);
|
||||
session_start();
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue