@oneblink/apps-react
    Preparing search index...

    Function changePassword

    • Allow the currently logged in user to change their password by passing their existing password and a new password.

      const currentPassword = 'P@$5w0rd'
      const newPassword = 'P@$5w0rD'
      await authService.changePassword(currentPassword, newPassword)

      Parameters

      • existingPassword: string
      • newPassword: string

      Returns Promise<void>