diff --git a/modules/consent/www/getconsent.php b/modules/consent/www/getconsent.php index b075c6cb00dc9404e7e70e3afb47a5daf5899178..c93d341324b87ede353388e83162929bce3beb7f 100644 --- a/modules/consent/www/getconsent.php +++ b/modules/consent/www/getconsent.php @@ -30,6 +30,12 @@ $state = SimpleSAML_Auth_State::loadState($id, 'consent:request'); if (array_key_exists('yes', $_REQUEST)) { /* The user has pressed the yes-button. */ + + if (array_key_exists('saveconsent', $_REQUEST)) { + SimpleSAML_Logger::stats('consentResponse remember'); + } else { + SimpleSAML_Logger::stats('consentResponse rememberNot'); + } if (array_key_exists('consent:store', $state) && array_key_exists('saveconsent', $_REQUEST) && $_REQUEST['saveconsent'] === '1') {