Instead of creating a user with a default password you should create the user with a random password and never send it to them. Then they can use the forgot password link on the login page to reset their password first before logging in.
blake
(Blake Erickson)
8
נושאים קשורים
| נושא | תגובות | צפיות | פעילות | |
|---|---|---|---|---|
| Migrated password hashes support | 34 | 13058 | 2 ביוני, 2026 | |
| Cannot login to dev instance with imported user | 5 | 1647 | 7 בפברואר, 2018 | |
| Reset password with custom ruby file | 9 | 1035 | 27 בספטמבר, 2023 | |
| Drupal password migrate into Discourse with discourse-migrate-password plugin | 4 | 911 | 15 בפברואר, 2024 | |
| So I can't login anymore :( and won't receive email logins or forgotten password emails | 9 | 2042 | 1 בספטמבר, 2019 |