Revision: 1916
Author: olavmrk
Date: Mon Oct 26 08:14:38 2009
Log: core/authenticate.php: Add restart URL.
http://code.google.com/p/simplesamlphp/source/detail?r=1916
Modified:
/trunk/modules/core/www/authenticate.php
=======================================
--- /trunk/modules/core/www/authenticate.php Fri Aug 28 00:47:42 2009
+++ /trunk/modules/core/www/authenticate.php Mon Oct 26 08:14:38 2009
@@ -36,7 +36,11 @@
$as = $_REQUEST['as'];
if (!$session->isValid($as)) {
- SimpleSAML_Auth_Default::initLogin($as,
SimpleSAML_Utilities::selfURL(),
SimpleSAML_Utilities::selfURL());
+ $url = SimpleSAML_Utilities::selfURL();
+ $hints = array(
+ SimpleSAML_Auth_State::RESTART => $url,
+ );
+ SimpleSAML_Auth_Default::initLogin($as, $url, $url, $hints);
}
$attributes = $session->getAttributes();
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"simpleSAMLphp commits" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/simplesamlphp-commits?hl=en
-~----------~----~----~----~------~----~------~--~---