MyBB Community Forums

Full Version: Move AdminCP IP Settings out of constants and into config.php
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
https://github.com/mybb/mybb/blob/featur...ex.php#L14

// Here you can change how much of an Admin CP IP address must match in a previous session for the user is validated (e.g. 3 means a.b.c need to match)
define("ADMIN_IP_SEGMENTS", 0);
define("ADMIN_IPV6_SEGMENTS", 0);
I support this
I also support this because not only will it mean you won't have to do the changes with each upgrade, but also makes it easy to edit.