Fix missing Crypto class error
This commit is contained in:
parent
ee5b9de6ad
commit
a49901eaa2
|
@ -1305,7 +1305,7 @@ class DFRN
|
|||
return -5;
|
||||
}
|
||||
try {
|
||||
$data = Crypto::encrypt($postvars['data'], $key);
|
||||
$data = \Crypto::encrypt($postvars['data'], $key);
|
||||
} catch (\CryptoTestFailedException $ex) {
|
||||
logger('Cannot safely perform encryption');
|
||||
return -6;
|
||||
|
|
Loading…
Reference in a new issue