feat: support first bind update password (#2520)

This commit is contained in:
skynono
2025-12-26 13:59:56 +08:00
committed by GitHub
parent 58db72d459
commit 9aeef6abec
2 changed files with 8 additions and 5 deletions

View File

@@ -314,10 +314,10 @@ const PersonalSetting = () => {
};
const changePassword = async () => {
if (inputs.original_password === '') {
showError(t('请输入原密码!'));
return;
}
// if (inputs.original_password === '') {
// showError(t('请输入原密码!'));
// return;
// }
if (inputs.set_new_password === '') {
showError(t('请输入新密码!'));
return;