When creating a new user in Matomo.....
Send the new user an email about their account..
Hello, Welcome to Matomo Analytics. Username: XXXXXXXX To set your password, visit the following address: <https://xxxxxxxxxxx&key=xyz> https://URL-Matomo-here
We don't want to send the user's password in the email. So ideally we send a link for user to set their password. The challenge is that we currently don't have a feature (like WP does) to reset a password via a URL. (instead, our password reset involves clicking in an email on a link).
Another idea related to this one, would be to implement an "Invitation" system, where instead of directly creating accounts for people, you would have to send them an invitation and they have to accept the invitation (to create their new users) within a period of up to 4 weeks or so. (before the invitations are discarded). This is for example done on Github. (The invitation system works well for platforms like Github where people have their own account and can join multiple teams, but may be over kill for Matomo)
So we may want to stick to a simple email notification instead (as described above in the ticket.) as it's easier and still ticks all the boxes I think.
Or maybe we should really do the "Invitation" system, as it seems kinda best practise around :eyes: