Vote #72280
未完了Add --unknown-user=register to create inactive users
0%
説明
This patch adds a new value for the @--unknown-user@ option of the mail handler script.
When given, it will behave similar to @--unknown-user=create@, but the user account will not be automatically activated. Depending on the site configuration, either token activation or manual activation by administrator will be required. The purpose is to help keep spam level low on public projects.
The change is a bit involved as it required moving the registration logic from accounts controller to the User model.
journals
+1 (please include this patch in the main release!)
--------------------------------------------------------------------------------
+1
--------------------------------------------------------------------------------
Consider using this: #10178
Users without notification e-mail will not be able to login anyway. They will be activated, visible although.
--------------------------------------------------------------------------------
related_issues
relates,Closed,10178,Allow silent user account creation for issues submitted by email