stable

Clone or download

Read-only

request #8189: An user with an IPv6 must be able to log in

We do not need to use IP address to check is an user is authentified or not. It is quite frequent now that thare is a lot of users using the same IPv4 with things like Carrier-Grade NAT (aka CGN or LSN) or mobile networks. An IP is not an interesting information to authenticate an user with, it is just interesting to log it for audit purposes. Change-Id: I272f5641c49e74fa8b638330cbe9435f212276f1

Modified Files

Name
M src/common/dao/UserDao.class.php +2 −3 Go to diff View file
M src/common/user/UserManager.class.php +2 −7 Go to diff View file
M src/db/mysql/database_structure.sql +1 −1 Go to diff View file
A src/db/mysql/updates/2015/201507152200_increase_session_ip_field_size.php +38 −0 Go to diff View file
M tests/simpletest/common/user/UserManagerTest.php +8 −38 Go to diff View file