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)
committerKatrin Fischer <katrin.fischer@bsz-bw.de>
Tue, 14 May 2024 13:34:28 +0000 (15:34 +0200)
commit7291a312332e4fac7ac61288f33a001d4a7b306c
tree896f26ea08859ad34fdebe3dcc511a5316f2dc70
parent02eae879ebf8bab98010b92e9913a79264185533
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>
C4/Auth.pm