Hi everyone,
I am newbie to CUBA platform. May I know how to code change/update password using REST API and its method is PUT.
Regards,
Hi everyone,
I am newbie to CUBA platform. May I know how to code change/update password using REST API and its method is PUT.
Regards,
You can create a custom endpoint as described here in the docs, load your User entity and update its password
attribute. The stored password must be encoded: inject the org.springframework.security.crypto.password.PasswordEncoder
bean into your controller and use its encode()
method.