Skip to contents

HTTP.PUT /user/change_password

Usage

lemmy_change_password(
  new_password,
  new_password_verify,
  old_password,
  auth,
  .lemmy_instance = getOption("lemmy_instance", "https://lemmy.world")
)

Arguments

new_password

A character value.

new_password_verify

A character value.

old_password

A character value.

auth

A character value.

.lemmy_instance

Default: "https://lemmy.world". Change the default instance by setting the lemmy_instance options().

Value

A list of length 3:

<list>
|-jwt: (Optional) A character value
|-registration_created: A logical value
`-verify_email_sent: A logical value