matomo-org / matomo-org/piwik-dotnet-api
passwordConfirmation for UsersManager.updateUser
Nobody has claimed this yet.
- Dominant language
- C#
- Stars
- 36
- Forks
- 22
- PR merge metrics
- No merged PRs in 30d
Description
Hello,
I'm just notifying that from version 3.8.0 of Matomo updating user is not working anymore because of:
https://developer.matomo.org/changelog
Breaking Changes
When changing the email address or the password through the UsersManager.updateUser API, a new parameter passwordConfirmation needs to be sent along with the request containing the current password of the user issuing the API request.
and since API is not using any credentials at all only token then IMHO is not usable in current state.
Adding new user using addUser is also needing new param: initialIdSite
- UsersManager.addUser (userLogin, password, email, alias = '', initialIdSite = '') [ No example available ]
Thanks
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reviewing the UsersManager.updateUser and UsersManager.addUser API methods alongside the Matomo 3.8 changelog linked in the issue. Determine how the new passwordConfirmation and initialIdSite parameters should be represented and verify that the affected requests work with the available token-based credentials.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- csharp
- Domain
- api
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100