Fix logged_in property: meaningful also after logout.

This commit is contained in:
sfigato 2019-02-17 18:22:01 +01:00 committed by blallo
parent 32a87d7b6d
commit eaaf492293
Signed by: blallo
GPG Key ID: 0CBE577C9B72DC3F

View File

@ -227,6 +227,7 @@ class Operator(wd.Firefox):
if "jsp/usut_wapplogout_portlet.jsp" in self.current_url: if "jsp/usut_wapplogout_portlet.jsp" in self.current_url:
self.logger.info("User successfully logged out: %s", self.username) self.logger.info("User successfully logged out: %s", self.username)
self.username = None self.username = None
self.delete_all_cookies()
else: else:
self.logger.warning("Logout failed: %s", self.username) self.logger.warning("Logout failed: %s", self.username)