From 0de3374b9cf5806ce86fe908bbad2992e38565c9 Mon Sep 17 00:00:00 2001
From: Olav Morken <olav.morken@uninett.no>
Date: Tue, 27 Oct 2009 12:02:25 +0000
Subject: [PATCH] SimpleSAML_Auth_Simple: Fix as_login.php-script.

git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@1920 44740490-163a-0410-bde0-09ae8108e29a
---
 modules/core/www/as_login.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/core/www/as_login.php b/modules/core/www/as_login.php
index 5a02bdbfe..55ab960bd 100644
--- a/modules/core/www/as_login.php
+++ b/modules/core/www/as_login.php
@@ -17,7 +17,7 @@ if (!is_string($_REQUEST['AuthId'])) {
 
 $as = new SimpleSAML_Auth_Simple($_REQUEST['AuthId']);
 $as->requireAuth(array(
-	'url' => $_REQUEST['ReturnTo'],
+	'ReturnTo' => $_REQUEST['ReturnTo'],
 ));
 
 SimpleSAML_Utilities::redirect($_REQUEST['ReturnTo']);
-- 
GitLab