Try to fix auth with secure cookie
This commit is contained in:
parent
bae6dc5c22
commit
ae97fec519
|
|
@ -24,11 +24,6 @@ class AppController extends Controller {
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
//WTF. Why is this here??
|
|
||||||
function isAuthorized() {
|
|
||||||
return true;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
||||||
|
|
@ -102,7 +102,7 @@ class CookieComponent extends Object {
|
||||||
* @var boolean
|
* @var boolean
|
||||||
* @access public
|
* @access public
|
||||||
*/
|
*/
|
||||||
var $secure = false;
|
var $secure = true;
|
||||||
/**
|
/**
|
||||||
* Encryption key.
|
* Encryption key.
|
||||||
*
|
*
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue