Optimisation requetes login
This commit is contained in:
parent
7f47a40b42
commit
c90d5747f7
|
@ -82,7 +82,7 @@ if (!$_SERVER[HTTPS]) {
|
||||||
<tr><th align="right"><label for="password"><?php echo _("Password"); ?></label></th><td><input type="password" class="int" name="password" id="password" value="" maxlength="128" size="15" /></td></tr>
|
<tr><th align="right"><label for="password"><?php echo _("Password"); ?></label></th><td><input type="password" class="int" name="password" id="password" value="" maxlength="128" size="15" /></td></tr>
|
||||||
<tr><td colspan="2" align="center"><input type="submit" class="inb" name="submit" value="<?php __("Enter"); ?>" /><input type="hidden" id="restrictip" name="restrictip" value="1" /></td></tr>
|
<tr><td colspan="2" align="center"><input type="submit" class="inb" name="submit" value="<?php __("Enter"); ?>" /><input type="hidden" id="restrictip" name="restrictip" value="1" /></td></tr>
|
||||||
</table>
|
</table>
|
||||||
<input type="hidden" id="authip_token" name="authip_token" value="<?php echo htmlentities($authip_token) ?>" />
|
<input type="hidden" id="authip_token" name="authip_token" value="<?php echo htmlentities( (empty($authip_token)?'':$authip_token) ) ?>" />
|
||||||
</form>
|
</form>
|
||||||
|
|
||||||
</td></tr>
|
</td></tr>
|
||||||
|
|
|
@ -38,6 +38,8 @@ if (!$mem->checkid())
|
||||||
exit();
|
exit();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
$mem->resetlast();
|
||||||
|
|
||||||
include("main.php");
|
include("main.php");
|
||||||
exit;
|
exit;
|
||||||
|
|
||||||
|
|
|
@ -45,7 +45,6 @@ if ($mem->user["lastfail"]) {
|
||||||
printf(_("%1\$d login failed since last login")."<br />",$mem->user["lastfail"]);
|
printf(_("%1\$d login failed since last login")."<br />",$mem->user["lastfail"]);
|
||||||
}
|
}
|
||||||
|
|
||||||
$mem->resetlast();
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
use MagpieRSS to syndicate content from another site if available
|
use MagpieRSS to syndicate content from another site if available
|
||||||
|
|
Loading…
Reference in New Issue