Bug 36378: Cannot stay logged in if AutoLocation is enabled but branch ip is not...
authorKyle M Hall <kyle@bywatersolutions.com>
Wed, 20 Mar 2024 19:32:50 +0000 (15:32 -0400)
committerFridolin Somers <fridolin.somers@biblibre.com>
Wed, 29 May 2024 12:32:03 +0000 (14:32 +0200)
commitd3dd7d20f1eae2bed24bb6833d08b4c80b4a250f
tree2ac05237ec3aa2f64ecda48f6813342f824f6ad1
parent58052b46f4365b0d5c6729b80a84b7f13ebe6b34
Bug 36378: Cannot stay logged in if AutoLocation is enabled but branch ip is not set correctly

We can get into a scenario what a user cannot stay logged in for more than a single page load.
If AutoLocation is enabled with branch IP addresses being set to a space, you will be logged out with every page load.

Test Plan:
1) Set your branch ip to a space
2) Enable AutoLocation
3) Restart all the things!
4) Log out
5) Log in
6) Browse to another page
7) You are logged out
8) Apply patch
9) Repeat 1-6
10) You are not logged out!

Signed-off-by: Andrew Fuerste Henry <andrewfh@dubcolib.org>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
(cherry picked from commit 7291a312332e4fac7ac61288f33a001d4a7b306c)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
C4/Auth.pm