projects
/
fa-stable.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Added option to allow password reset (by Mithy).
[fa-stable.git]
/
access
/
login.php
diff --git
a/access/login.php
b/access/login.php
index fbabe47ef317ca7ce1c3efa48e6223fba2df687a..799c91c175ff7f102c3b473cc7c7a6542f77ea5b 100644
(file)
--- a/
access/login.php
+++ b/
access/login.php
@@
-29,6
+29,9
@@
function defaultCompany()
else
{
$demo_text = _("Please login here");
else
{
$demo_text = _("Please login here");
+ if (@$allow_password_reset) {
+ $demo_text .= " "._("or")." <a href='$path_to_root/index.php?reset=1'>"._("request new password")."</a>";
+ }
}
if (check_faillog())
}
if (check_faillog())
@@
-154,4
+157,4
@@
function defaultCompany()
echo "</table><br><br>\n";
echo "</body></html>\n";
echo "</table><br><br>\n";
echo "</body></html>\n";
-?>
\ No newline at end of file
+?>