Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Trigger resend of welcome email via API #3367

Closed
MorrisJobke opened this issue Feb 3, 2017 · 7 comments · Fixed by #3607
Closed

Trigger resend of welcome email via API #3367

MorrisJobke opened this issue Feb 3, 2017 · 7 comments · Fixed by #3607

Comments

@MorrisJobke
Copy link
Member

MorrisJobke commented Feb 3, 2017

  • provide an API endpoint in the OCS API to resend the welcome email for a given user

Best would maybe to include this into the user provisioning API: https://docs.nextcloud.com/server/12/admin_manual/configuration_user/user_provisioning_api.html

Something like

PUT http://admin:[email protected]/ocs/v1.php/cloud/users/Frank/resendWelcomeMessage

@rullzer @nickvergessen @blizzz Opinions on this?

@MorrisJobke MorrisJobke added 1. to develop Accepted and waiting to be taken care of enhancement feature: users and groups labels Feb 3, 2017
@MorrisJobke MorrisJobke added this to the Nextcloud 12.0 milestone Feb 3, 2017
@nickvergessen
Copy link
Member

We have a welcome email? Never saw something like that?

@MorrisJobke
Copy link
Member Author

We have a welcome email? Never saw something like that?

It's the password reset email. You can enable this in the user management settings (lower left).

@MorrisJobke
Copy link
Member Author

But maybe we just make this a separate email template to enhance the wording.

@blizzz
Copy link
Member

blizzz commented Feb 5, 2017

Totally, a password reset as welcome email sounds rather confusing, may even look like phishing, if it is unexpected.

@MorrisJobke
Copy link
Member Author

Totally, a password reset as welcome email sounds rather confusing, may even look like phishing, if it is unexpected.

Makes sense to have a dedicated welcome email with proper wording then.

@MorrisJobke
Copy link
Member Author

Welcome email was brought via #2287

MorrisJobke added a commit that referenced this issue Feb 24, 2017
* send a POST request to ocs/v1.php/cloud/users/USERNAME/resendWelcomeMessage to trigger
  the welcome message to be send
* fixes #3367

example curl statement:

  curl -i https://example.org/ocs/v1.php/cloud/users/USERNAME/resendWelcomeMessage -H  "OCS-APIRequest: true" -u admin:password -X POST

Signed-off-by: Morris Jobke <[email protected]>
@MorrisJobke
Copy link
Member Author

Fix for this is in #3607

@MorrisJobke MorrisJobke removed the 1. to develop Accepted and waiting to be taken care of label Feb 24, 2017
MorrisJobke added a commit that referenced this issue Feb 24, 2017
* send a POST request to ocs/v1.php/cloud/users/USERNAME/resendWelcomeMessage to trigger
  the welcome message to be send
* fixes #3367

example curl statement:

  curl -i https://example.org/ocs/v1.php/cloud/users/USERNAME/welcome -H  "OCS-APIRequest: true" -u admin:password -X POST

Signed-off-by: Morris Jobke <[email protected]>
MorrisJobke added a commit that referenced this issue Feb 28, 2017
* send a POST request to ocs/v1.php/cloud/users/USERNAME/resendWelcomeMessage to trigger
  the welcome message to be send
* fixes #3367

example curl statement:

  curl -i https://example.org/ocs/v1.php/cloud/users/USERNAME/welcome -H  "OCS-APIRequest: true" -u admin:password -X POST

Signed-off-by: Morris Jobke <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants