I have my own Users page in my application where user Admin can create a new user. I do not want to let the user sign up by himself, but have the admin of the system add this user.
What do you think the flow for that should be ?
I thought about:
- create a new user with username and temp password in the users page.
- The user gets an email and presses a link to confirm the email.
- The user goes to the login screen of my application and inserts the username and temp password.
- the login page changes to Change password so the user will insert the password and confirm the password for him.
- when pressing login the user logins to the system.
I cannot find a best practice for adding a new user from a built-in users page in the app. Do you think my flow is reasonable? Do you have any code that I can use for that?