Skip to content
Snippets Groups Projects
Commit 6a8ebdf6 authored by Andreas Åkre Solberg's avatar Andreas Åkre Solberg
Browse files

Log consentRemember

git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@1335 44740490-163a-0410-bde0-09ae8108e29a
parent c10a7a43
No related branches found
No related tags found
No related merge requests found
......@@ -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') {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment