diff --git a/src/forge/Component/EducoderAccount.jsx b/src/forge/Component/EducoderAccount.jsx index 63c3fe4a..bcb38604 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