lotusbase / lotus.au.dk

Lotus Base website
https://lotus.au.dk
MIT License
2 stars 1 forks source link

Update PHP setcookie() calls to use secure and HTTP #75

Open terrymun opened 6 years ago

terrymun commented 6 years ago

Right now calls to setcookie() actually uses PHP default (i.e. false) for HTTPonly and secure flags. The secure flag should always be true, and the httponly flag should be true if we know that it is not accessed by JS.