Revision: 1918
Author: olavmrk
Date: Tue Oct 27 00:20:06 2009
Log: core/authenticate.php: Add restart URL.

Merged into 1.5 branch from r1916.
http://code.google.com/p/simplesamlphp/source/detail?r=1918

Modified:
  /branches/simplesamlphp-1.5/modules/core/www/authenticate.php

=======================================
--- /branches/simplesamlphp-1.5/modules/core/www/authenticate.php       Fri Aug 
 
28 00:47:42 2009
+++ /branches/simplesamlphp-1.5/modules/core/www/authenticate.php       Tue Oct 
 
27 00:20:06 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
-~----------~----~----~----~------~----~------~--~---

Reply via email to