[Tools] testbot/web: Remove an unused reference to CGI::Cookie.

Francois Gouget fgouget at codeweavers.com
Tue Jul 11 05:40:06 CDT 2017


All the cookie contains is the session id. So to log out a user all we
need to do is delete the server-side session id. This instantly
invalidates the client-side cookie and thus there is no need to use
CGI:Cookie to modify it.

Signed-off-by: Francois Gouget <fgouget at codeweavers.com>
---
 testbot/web/Logout.pl | 1 -
 1 file changed, 1 deletion(-)

diff --git a/testbot/web/Logout.pl b/testbot/web/Logout.pl
index 6e6abc2e..417232d0 100644
--- a/testbot/web/Logout.pl
+++ b/testbot/web/Logout.pl
@@ -24,7 +24,6 @@ package LogoutPage;
 use ObjectModel::CGI::Page;
 use WineTestBot::CGI::Sessions;
 use CGI qw(:standard);
-use CGI::Cookie;
 
 @LogoutPage::ISA = qw(ObjectModel::CGI::Page);
 
-- 
2.13.2




More information about the wine-patches mailing list