Bug #45526
closedPerma-Logout in Backend when accessing from localhost
0%
Description
As far as I've read this issue is pretty old, but I couldn't find a report on it, so sorry if there was one already.
When accessing typo on a local webserver via localhost you get perma-logged out (and asked to log back in).
When setting
[BE][lockIP] = 0
the logout seems to have been gone (at least I didn't get a logout for hours, and that sounds like more than a coincidence). May need further testing for this.
My guess is that the lockIP function trys to split an IP block that's not splittable. In the admin-panel log there's this message:
10:47:29 admin@[-99] LOGIN LOGIN User admin logged in from ::1 () (msg#255.1.1)
and my guess is typo trys to split this ip into 4 blocks, which of course does not succeed and therefore can't send a session cookie (or whatever it does if it did).
I just got into typo, so I can't watch out for the code at the moment, will try to get into it soon :) Maybe this helps a little :|