Fix logged_in property: meaningful also after logout.
This commit is contained in:
parent
32a87d7b6d
commit
eaaf492293
|
@ -227,6 +227,7 @@ class Operator(wd.Firefox):
|
|||
if "jsp/usut_wapplogout_portlet.jsp" in self.current_url:
|
||||
self.logger.info("User successfully logged out: %s", self.username)
|
||||
self.username = None
|
||||
self.delete_all_cookies()
|
||||
else:
|
||||
self.logger.warning("Logout failed: %s", self.username)
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user