tmp
zhaoqingang
2025-01-15 fe8e77104db4503d65f13ad66eaa48d631619d7c
app/models/user_model.py
@@ -254,11 +254,4 @@
            'password': self.password,
            'access_token': self.access_token,
            'refresh_token': self.refresh_token,
        }
    @staticmethod
    def encrypted_password(password):
        return cipher_suite.encrypt(password.encode("utf-8")).decode("utf-8")
    @staticmethod
    def decrypted_password(password):
        return cipher_suite.decrypt(password).decode("utf-8")
        }