lib/fusionauth/fusionauth_client.rb in fusionauth_client-1.27.1 vs lib/fusionauth/fusionauth_client.rb in fusionauth_client-1.27.2
- old
+ new
@@ -101,10 +101,10 @@
#
# @param change_password_id [string] The change password Id used to find the user. This value is generated by FusionAuth once the change password workflow has been initiated.
# @param request [OpenStruct, Hash] The change password request that contains all of the information used to change the password.
# @return [FusionAuth::ClientResponse] The ClientResponse object.
def change_password(change_password_id, request)
- start.uri('/api/user/change-password')
+ startAnonymous.uri('/api/user/change-password')
.url_segment(change_password_id)
.body_handler(FusionAuth::JSONBodyHandler.new(request))
.post()
.go()
end