Details
-
Type:
Bug
-
Status: Closed
-
Priority:
Minor
-
Resolution: Fixed
-
Affects Version/s: 3.1.4, 3.2.1
-
Component/s: Authentication
-
Labels:
-
Testing Instructions:
-
Affected Branches:MOODLE_31_STABLE, MOODLE_32_STABLE
-
Fixed Branches:MOODLE_31_STABLE, MOODLE_32_STABLE
-
Pull from Repository:
-
Pull Master Branch:
MDL-57752_tracksessionip -
Pull Master Diff URL:
Description
Steps to reproduce:
- Site must be running on PHP 5.6+
- Add: $CFG->tracksessionip = true; to config.php
- Log in to the site
- Change your IP address
- Try to visit a page on your site
- An error appears about the changed IP address and asks you to refresh the page
- Refresh the page
- Instead of reaching the login page, you are presented with the changed IP address warning again
This is most noticeable when users are roaming from one wireless router to another.