From e77e27730b254c7f1b506aa1b41b00a23cd2c5dd Mon Sep 17 00:00:00 2001 From: Alexandre Aubin Date: Fri, 1 Nov 2019 16:47:05 +0100 Subject: [PATCH] Update moulinette/authenticators/__init__.py Co-Authored-By: Timost --- moulinette/authenticators/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/moulinette/authenticators/__init__.py b/moulinette/authenticators/__init__.py index d6d0b8f3..da3bd363 100644 --- a/moulinette/authenticators/__init__.py +++ b/moulinette/authenticators/__init__.py @@ -154,7 +154,7 @@ class BaseAuthenticator(object): f.write(hash_) def _authenticate_session(self, session_id, session_token): - """Retrieve a session and return its associated password""" + """Checks session and token against the stored session token""" try: # FIXME : shouldn't we also add a check that this session file # is not too old ? e.g. not older than 24 hours ? idk...