satrun77 / tinyissue

Simple Issue Tracking for Teams
MIT License
48 stars 6 forks source link

Set random generic password as default for users #98

Closed nickbe closed 8 years ago

nickbe commented 8 years ago

When creating a new user we could use a button to create a random password for this user. A random password should also be set as default when the user is created.

nickbe commented 8 years ago

Currently the password field is not shown at all when creating a user. So we have to save the user and then edit them again. This seems odd and I think it would be best to show the password fields when creating the user in the first place.

Additionally we should then have a simple button to create a random password for the user. Best title I can think of is simply [ Set random passwort ]. If there's already a password set then there should be a simple request to make sure setting a new password is intentionally.

satrun77 commented 8 years ago

The password is randomly generated on creating a new user, then an email is sent to the user with this temporary password: https://github.com/satrun77/tinyissue/blob/master/app/Model/Traits/User/CrudTrait.php#L52

nickbe commented 8 years ago

Oh. I didn't know that :) is that new?

satrun77 commented 8 years ago

It's from the original project.

nickbe commented 8 years ago

:) ok. Then maybe it would be good to show some stars or a message which explains that. In my case I'd wish I could simply enter passwords manually.

nickbe commented 8 years ago

Even with a password quality check. Perfect ! Thanks.