Skip to content
Snippets Groups Projects
Commit 6a857ad0 authored by Olav Morken's avatar Olav Morken
Browse files

UserPassOrgBase: Add forceUsername template parameter.

git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@1490 44740490-163a-0410-bde0-09ae8108e29a
parent 0e934e37
No related branches found
No related tags found
No related merge requests found
...@@ -45,6 +45,7 @@ $globalConfig = SimpleSAML_Configuration::getInstance(); ...@@ -45,6 +45,7 @@ $globalConfig = SimpleSAML_Configuration::getInstance();
$t = new SimpleSAML_XHTML_Template($globalConfig, 'core:loginuserpass.php'); $t = new SimpleSAML_XHTML_Template($globalConfig, 'core:loginuserpass.php');
$t->data['stateparams'] = array('AuthState' => $authStateId); $t->data['stateparams'] = array('AuthState' => $authStateId);
$t->data['username'] = $username; $t->data['username'] = $username;
$t->data['forceUsername'] = FALSE;
$t->data['errorcode'] = $errorCode; $t->data['errorcode'] = $errorCode;
if ($organizations !== NULL) { if ($organizations !== NULL) {
......
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