fix: change password 404 error

fix: change password 404 error
This commit is contained in:
Yuhan Jian
2025-08-06 10:22:03 +08:00
parent 63ba17e02d
commit 828a8e1c0d

View File

@@ -381,7 +381,7 @@ const changePassword = async () => {
changePasswordLoading.value = true
try {
const data = await apiClient.post('/admin/change-password', {
const data = await apiClient.post('/web/auth/change-password', {
currentPassword: changePasswordForm.currentPassword,
newPassword: changePasswordForm.newPassword,
newUsername: changePasswordForm.newUsername || undefined