ombi: reset password when using pwr links

When password reset links are enabled, the ombi password will be reset
to the PIN along with Jellyfin.
This commit is contained in:
Harvey Tindall
2021-05-02 13:23:59 +01:00
parent 22a0d8925d
commit af61549bf1
5 changed files with 30 additions and 5 deletions

View File

@@ -130,7 +130,7 @@ func (ombi *Ombi) ModifyUser(user map[string]interface{}) (status int, err error
err = fmt.Errorf("No ID provided")
return
}
_, status, err = ombi.put(ombi.server+"/api/v1/Identity", user, false)
_, status, err = ombi.put(ombi.server+"/api/v1/Identity/", user, false)
return
}