This commit is contained in:
dev-chiefworks
2022-04-13 19:00:33 -04:00
parent 9b4124ac1f
commit 3593a10251
+13
View File
@@ -23,6 +23,19 @@ class Savvy extends BaseController
}
public function user(){
/*encryption:
{
algorithm = "aes-256-ctr";
key = "1234567890abcdef1234567890abcdef";
iv = "1234567890abcdef";
};
*/
$encryptionAlg = "aes-256-ctr"; // $savvyext->cfgReadChar('encryption.algorithm');
$encryptionKey = "1234567890abcdef1234567890abcdef"; // $savvyext->cfgReadChar('encryption.key');
$encryptionIV = iv = "1234567890abcdef"; // $savvyext->cfgReadChar('encryption.iv');
log_message('critical', "API-WAS CALLED user" );
header("Access-Control-Allow-Origin: *");
//header("x-devicetoken : *");