Still confused (General)

by Auge ⌂ @, Wednesday, November 23, 2016, 08:33 (458 days ago) @ Magma


No I just do not understand this in the wiki for temp_block_ip_after_repeated_failed_logins

new behaviour (since 2.3.7 - ) 0 = disabled / >0 = blocking time in minutes (enabled)

The message is clear. Set it to 1 and the user will beblocked for one minute, set it to 15 and the user will be blocked for fifteen minutes.

No matter what I set it to it only blocks for around a minute :lookaround:

Ok, there seems to be anything broken. Do you find the following code lines in the includes/login.inc.php?

// a value greater than zero is interpreted as time in minutes.
if($settings['temp_block_ip_after_repeated_failed_logins'] > 0)

… and …

@mysqli_query($connid, "DELETE FROM ".$db_settings['login_control_table']." WHERE time < (NOW()-INTERVAL (SELECT CONVERT(`value`,UNSIGNED INTEGER) FROM ".$db_settings['settings_table']." WHERE `name` = 'temp_block_ip_after_repeated_failed_logins') MINUTE)");

And a second question. Do you have activated the automatic login in the settings and for the disputable user accounts?

Tschö, Auge

Trenne niemals Müll, denn er hat nur eine Silbe!

Complete thread:

 RSS Feed of thread

powered by my little forum