shopizer-ecommerce / shopizer

Shopizer java e-commerce software
http://www.shopizer.com
Apache License 2.0
3.56k stars 3k forks source link

Error when changing password in Shopizer admin portal #972

Closed aaearon closed 10 months ago

aaearon commented 10 months ago

Shopizer 3.2.0 using the latest tags for both shopizerecomm/shopizer-admin and shopizerecomm/shopizer:latest

When a user attempts to change their own password by providing their current password and the new password (twice), clicking Save results in an Error 500 and in the logs the following error can be seen

2023-12-28 13:17:59.752 ERROR 1 --- [nio-8080-exec-4] c.s.s.s.api.exception.RestErrorHandler   : Actual password does not match for user [50]

This is due to when clicking Save, the PATCH request passes the new password as both the current password (password) in the request body.

image

aaearon commented 10 months ago

Closing as this was fixed in the shopizer-admin repo . The latest tag for shopizerecomm/shopizer-admin is 18 months old.

Opened https://github.com/shopizer-ecommerce/shopizer-admin/issues/85