From 64623c1bb61761900d1b911ed55f88acf39af2c9 Mon Sep 17 00:00:00 2001
From: ale <ale@incal.net>
Date: Fri, 11 Oct 2024 09:16:04 +0100
Subject: [PATCH] Add accountserver.disable_2fa method

---
 ai_web_common/rpc/clients.py | 1 +
 1 file changed, 1 insertion(+)

diff --git a/ai_web_common/rpc/clients.py b/ai_web_common/rpc/clients.py
index a6045e0..d12c8dd 100644
--- a/ai_web_common/rpc/clients.py
+++ b/ai_web_common/rpc/clients.py
@@ -49,6 +49,7 @@ class AccountserverClient(ClientStub):
         ('resource_reset_password', '/api/resource/reset_password'),
         ('disable_otp', '/api/user/disable_otp'),
         ('enable_otp', '/api/user/enable_otp'),
+        ('disable_2fa', '/api/user/disable_2fa'),
         ('get_resource', '/api/resource/get'),
         ('set_resource_status', '/api/resource/set_status'),
         ('search_resources', '/api/resource/search'),
-- 
GitLab