def get_account_recovery_code(self):
    from app.modules.auth.models import CodeTypes
    return self.get_codes(CodeTypes.recover, replace=True, replace_ttl=None)
def get_account_recovery_code(self):
    from app.modules.auth.models import CodeTypes
    return self.get_codes(CodeTypes.recover, replace=True, replace_ttl=None)