a
This commit is contained in:
parent
ad98a11aed
commit
712be4a76c
|
|
@ -384,7 +384,6 @@
|
|||
$iv = substr($data, 0, 16);
|
||||
$ciphertext = substr($data, 16);
|
||||
|
||||
// return openssl_decrypt($ciphertext, 'AES-256-CBC', $key, OPENSSL_RAW_DATA, $iv);
|
||||
return base64_encode(openssl_decrypt($ciphertext, 'AES-256-CBC', $key, OPENSSL_RAW_DATA, $iv));
|
||||
}
|
||||
?>
|
||||
|
|
@ -745,10 +744,10 @@
|
|||
verificationToken = <?= $_SESSION['idDemande'] ?> ;
|
||||
v_msg = "<?= t('invalid_link', $lang, $translations) ?>";
|
||||
|
||||
verificationToken=false;
|
||||
// Initialisation
|
||||
window.onload = function() {
|
||||
if (!verificationToken) {
|
||||
// showError('Lien de vérification invalide');
|
||||
showError(v_msg);
|
||||
return;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user