1
1
Fork 0

Fix missing Crypto class error

This commit is contained in:
Hypolite Petovan 2017-11-09 03:47:12 -05:00
parent ee5b9de6ad
commit a49901eaa2

View file

@ -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;