lowcoder icon indicating copy to clipboard operation
lowcoder copied to clipboard

[Bug]: Lowcoder API Update Password does not accept old password

Open ScottKemp opened this issue 1 month ago • 1 comments
trafficstars

Is there an existing issue for this?

  • [x] I have searched the existing issues

Current Behavior

Since the javascript utils.resetPassword doesn't return the status (See #2034 ), I tried to use the lowcoder API UpdatePassword.

It takes an old password and a new password. I put the oldPassword in correctly, and verified with Chrome Developer Tools it was sending it correctly, but it returns an error "Passwords Don't Match"

Expected Behavior

Password should reset if the old password is correct.

Steps to reproduce

Call the lowcoder UpdatePassword API

Here is what I sent them

{ "oldPassword": {{ui_oldPassword.value}}, "newPassword": {{ui_newPassword.value}} }

I used the exact same old password as I used to log in (using clipboard paste, to avoid typo errors)

Environment

Self Hosted 2.7.4

Additional Information

No response

ScottKemp avatar Oct 02 '25 06:10 ScottKemp