mirror of
https://github.com/YunoHost/moulinette.git
synced 2024-09-03 20:06:31 +02:00
Update moulinette/authenticators/__init__.py
Co-Authored-By: Timost <Timost@users.noreply.github.com>
This commit is contained in:
parent
97aad385b4
commit
e77e27730b
1 changed files with 1 additions and 1 deletions
|
@ -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...
|
||||
|
|
Loading…
Reference in a new issue