• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

XF 1.1 Discouragement Only Works When Logged In

mjda

Active member
#1
I'm just wondering if this is a bug, or if it's by design. If you add an IP address into the discouraged IPs, shouldn't it discourage anyone connecting from that IP, whether they are logged in or not? If it's not as designed, there could be a bug there. I added my mobile IP into the system and nothing happened (as far as discouragement), but as soon as I logged in it started working just as expected.
 

Mike

XenForo developer
Staff member
#2
Discouragement is only checked at the beginning of session creation (and then the cached result is used to determine if it should be triggered), so it may not by applied immediately.