diff options
author | Byron Jones <glob@mozilla.com> | 2015-08-25 07:37:20 +0200 |
---|---|---|
committer | Byron Jones <glob@mozilla.com> | 2015-08-25 07:37:20 +0200 |
commit | 90a618266ecb83f138cd5d0a3ff5bf26012625e9 (patch) | |
tree | 7c2b7ffae52189af5aaae52c84f38ab9978de27d /Bugzilla/Auth/Login | |
parent | 85adb94a090b4bc87eab72193e7066e476da253e (diff) | |
download | bugzilla-90a618266ecb83f138cd5d0a3ff5bf26012625e9.tar.gz bugzilla-90a618266ecb83f138cd5d0a3ff5bf26012625e9.tar.xz |
Bug 1197699 - always store the ip address in the logincookies table
Diffstat (limited to 'Bugzilla/Auth/Login')
-rw-r--r-- | Bugzilla/Auth/Login/Cookie.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Bugzilla/Auth/Login/Cookie.pm b/Bugzilla/Auth/Login/Cookie.pm index 46024bca4..738d26b21 100644 --- a/Bugzilla/Auth/Login/Cookie.pm +++ b/Bugzilla/Auth/Login/Cookie.pm @@ -107,7 +107,7 @@ sub get_login_info { FROM logincookies WHERE cookie = ? AND userid = ? - AND (ipaddr = ? OR ipaddr IS NULL)', + AND (restrict_ipaddr = 0 OR ipaddr = ?)', undef, ($login_cookie, $user_id, $ip_addr)); # If the cookie is valid, return a valid username. |