Skip to content

Commit

Permalink
Remove unnecessary (and incorrect) comment
Browse files Browse the repository at this point in the history
  • Loading branch information
gberaudo committed Mar 19, 2019
1 parent 36c59cc commit e3afd6d
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions geoportal/c2cgeoportal_geoportal/views/entry.py
Original file line number Diff line number Diff line change
Expand Up @@ -1541,8 +1541,6 @@ def login(self):
def logout(self):
headers = forget(self.request)

# if there is no user to log out, we send a 404 Not Found (which
# is the status code that applies best here)
if not self.request.user:
log.info("Logout on non login user.")
raise HTTPBadRequest("See server logs for details")
Expand Down

0 comments on commit e3afd6d

Please sign in to comment.