discourse/app
Blake Erickson fec68d3d25 DEV: Confirm email when creating users via the API
This commit is for a frequently requested task on meta so that only 1
API call is needed instead of 3!

In order to create a user via the api and not have them receive an
activation email you can pass in the `active=true` flag. This prevents
sending an email, but it is only half of the solution and puts the db in
a weird state where it has an active user with an unconfirmed email.

This commit fixes that and ensures that if the `active=true` flag is set
the user's email is also marked as confirmed.

This change only applies to admins using the API.

Related topics on meta:

 - https://meta.discourse.org/t/-/68663
 - https://meta.discourse.org/t/-/33133
 - https://meta.discourse.org/t/-/36133
2020-04-14 14:56:32 -06:00
..
assets DEV: pass widget back when cleaning up stream (#9422) 2020-04-14 18:45:40 +02:00
controllers DEV: Confirm email when creating users via the API 2020-04-14 14:56:32 -06:00
helpers FIX: Display small post actions when embedding a topic (#9278) 2020-03-26 09:07:41 -03:00
jobs FIX: CSV Exports were throwing errors with invalid dates 2020-04-07 14:05:27 -04:00
mailers FEATURE: High priority bookmark reminder notifications (#9290) 2020-04-01 09:09:20 +10:00
models FEATURE: enforce_canonical_emails site setting 2020-04-14 14:16:30 +10:00
serializers FEATURE: add after-reviewable-post-user plugin outlet (#9397) 2020-04-09 11:32:39 -07:00
services DEV: themes_install_task find existing themes consistently (#9424) 2020-04-14 14:20:21 -05:00
views UX: Improve published page avatar resolution (#9405) 2020-04-13 08:57:27 -07:00