Commit d5167aee authored by David Anderson's avatar David Anderson
Browse files

web: don't show "forgot email" link for non-compute projects

parent fbe6a4fd
......@@ -100,9 +100,10 @@ function login_form($next_url) {
} else {
$x = tra("Email address:");
}
row2($x . '<br><p class="text-muted"><a href="get_passwd.php">'.tra("forgot email address?")."</a></p>",
"<input name=email_addr type=\"text\" size=40 tabindex=1>"
);
if (!parse_bool(get_config(), "no_computing")) {
$x .= '<br><p class="text-muted"><a href="get_passwd.php">'.tra("forgot email address?")."</a></p>";
}
row2($x, "<input name=email_addr type=\"text\" size=40 tabindex=1>");
row2(tra("Password:") . '<br><p class="text-muted"><a href="get_passwd.php">' . tra("forgot password?") . "</a></p>",
'<input type="password" name="passwd" size="40" tabindex="2">'
);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment