Skip to content
Snippets Groups Projects
Commit 23580978 authored by Tim van Dijen's avatar Tim van Dijen
Browse files

Fix syntax error

parent f266603f
No related branches found
No related tags found
No related merge requests found
......@@ -6,7 +6,7 @@ $session = SimpleSAML_Session::getSessionFromRequest();
$oauthconfig = SimpleSAML_Configuration::getOptionalConfig('module_oauth.php');
$store = new sspmod_core_Storage_SQLPermanentStorage('oauth');
$authsource = "admin"; // force admin to authenticate as registry maintainer
$authsource = "admin"; // force admin to authenticate as registry maintainer
$useridattr = $oauthconfig->getValue('useridattr', 'user');
if ($session->isValid($authsource)) {
......@@ -47,6 +47,7 @@ if (is_array($list)) {
$slist['mine'][] = $listitem; continue;
}
}
}
$slist['others'][] = $listitem;
}
......@@ -54,3 +55,5 @@ $template = new SimpleSAML_XHTML_Template($config, 'oauth:registry.list.php');
$template->data['entries'] = $slist;
$template->data['userid'] = $userid;
$template->show();
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