Bug 1368904

Summary: Re-enable login cookie clean up
Product: [Community] Bugzilla Reporter: Jeff Fearn 🐞 <jfearn>
Component: Bugzilla GeneralAssignee: Jeff Fearn 🐞 <jfearn>
Status: CLOSED NEXTRELEASE QA Contact: tools-bugs <tools-bugs>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 5.0CC: huiwang, mtahir, qgong
Target Milestone: 5.0   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-09-25 21:48:28 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Jeff Fearn 🐞 2016-08-22 04:53:32 UTC
Description of problem:
As part of bug 1235135 the cookie clean up code was disabled. It should be re-enabled and the transaction isolation should be lowered.


Version-Release number of selected component (if applicable):
5.0

How reproducible:
Always

Steps to Reproduce:
1. Login
2. wait 7 days (or hack the database)
3. Login again

Actual results:
The original cookie is still in the database

Expected results:
The original cookie is deleted

Additional info:
update logincookies set lastused = lastused - interval '8 days';

Comment 1 Rony Gong 🔥 2016-09-13 08:44:26 UTC
Tested on QA environment(5.0.3-rh6)
Result: Pass