From 6a857ad0412c671f629c6cc96f91436e0d6f374f Mon Sep 17 00:00:00 2001
From: Olav Morken <olav.morken@uninett.no>
Date: Tue, 5 May 2009 07:30:23 +0000
Subject: [PATCH] UserPassOrgBase: Add forceUsername template parameter.

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

diff --git a/modules/core/www/loginuserpassorg.php b/modules/core/www/loginuserpassorg.php
index 3a3e0e190..57bbdb656 100644
--- a/modules/core/www/loginuserpassorg.php
+++ b/modules/core/www/loginuserpassorg.php
@@ -45,6 +45,7 @@ $globalConfig = SimpleSAML_Configuration::getInstance();
 $t = new SimpleSAML_XHTML_Template($globalConfig, 'core:loginuserpass.php');
 $t->data['stateparams'] = array('AuthState' => $authStateId);
 $t->data['username'] = $username;
+$t->data['forceUsername'] = FALSE;
 $t->data['errorcode'] = $errorCode;
 
 if ($organizations !== NULL) {
-- 
GitLab