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