Skip to content
Snippets Groups Projects
Commit e662c38c authored by Jaime Perez's avatar Jaime Perez Committed by Jaime Perez Crespo
Browse files

Display remaining session time in www/admin/hostnames.php

parent 66febba0
No related branches found
No related tags found
No related merge requests found
...@@ -27,7 +27,7 @@ $attributes['Utilities_selfURL()'] = array(SimpleSAML_Utilities::selfURL()); ...@@ -27,7 +27,7 @@ $attributes['Utilities_selfURL()'] = array(SimpleSAML_Utilities::selfURL());
$et = new SimpleSAML_XHTML_Template($config, 'hostnames.php'); $et = new SimpleSAML_XHTML_Template($config, 'hostnames.php');
$et->data['header'] = '{status:header_diagnostics}'; $et->data['header'] = '{status:header_diagnostics}';
$et->data['remaining'] = 'na'; $et->data['remaining'] = $session->getAuthData('admin', 'Expire') - time();
$et->data['attributes'] = $attributes; $et->data['attributes'] = $attributes;
$et->data['valid'] = 'na'; $et->data['valid'] = 'na';
$et->data['logout'] = null; $et->data['logout'] = null;
......
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