From 4cb46f4d5316f8ce5699c9afa7d16efa8f60fa18 Mon Sep 17 00:00:00 2001 From: caishi <1149225589@qq.com> Date: Mon, 7 Aug 2023 14:12:32 +0800 Subject: [PATCH] =?UTF-8?q?change=20=E6=B3=A8=E9=87=8A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/forge/Component/EducoderAccount.jsx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/forge/Component/EducoderAccount.jsx b/src/forge/Component/EducoderAccount.jsx index 63c3fe4a9..bcb386043 100644 --- a/src/forge/Component/EducoderAccount.jsx +++ b/src/forge/Component/EducoderAccount.jsx @@ -14,10 +14,10 @@ function EducoderAccount({form , visible , current_user , onCancel,isCancel,show function onOk(values){ let url = `/accounts/gitea_register.json`; - const { email , is_sync_pwd} = current_user; - if(email && !is_sync_pwd){ - url = `/users/change_password.json`; - } + // const { email , is_sync_pwd} = current_user; + // if(email && !is_sync_pwd){ + // url = `/users/change_password.json`; + // } axios.post(url,{ login:current_user && current_user.login, ...values