Menu

#2 login message for ldap

open
nobody
None
5
2011-07-12
2011-07-12
No

We needed to tell users which username and password to use (we're using ldap, and don't want them trying to find a way to create an account just for this appplication!). We added this in login.php:

*** 83,90 ****
if($settings["login_method"] == "normal"){
echo "<span class=\"registrationlink\"><a href=\"createaccount.php\">Create Account</a></span><br/><br/>";
}
+ else // display a login message
+ echo "<span><em>Please enter your University login name and password</em></span>";
?>
</li>
</ul>

Discussion


Log in to post a comment.