diff --git a/locker_server/api_orm/model_parsers/cipher_parsers.py b/locker_server/api_orm/model_parsers/cipher_parsers.py index 457f855..259e468 100644 --- a/locker_server/api_orm/model_parsers/cipher_parsers.py +++ b/locker_server/api_orm/model_parsers/cipher_parsers.py @@ -69,7 +69,8 @@ def parse_password_history(cls, cipher_orm: CipherORM, limit_history: int = None "password": data.get("password") }) if limit_history is not None: - history = history[-limit_history:] + history = history[:limit_history] + # history = history[-limit_history:] return history @classmethod