mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-01-31 09:06:17 +00:00
fixes #3285
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5687 3807eeeb-6ff5-0310-8944-8be069107fe0
This commit is contained in:
parent
8f4dd39257
commit
54854aff43
1 changed files with 3 additions and 0 deletions
|
@ -80,6 +80,9 @@ class Security extends Object{
|
||||||
*/
|
*/
|
||||||
function generateAuthKey() {
|
function generateAuthKey() {
|
||||||
$_this =& Security::getInstance();
|
$_this =& Security::getInstance();
|
||||||
|
if(!class_exists('String')) {
|
||||||
|
uses('string');
|
||||||
|
}
|
||||||
return $_this->hash(String::uuid());
|
return $_this->hash(String::uuid());
|
||||||
}
|
}
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Add table
Reference in a new issue