# Discourseで新しい登録フォームからWPでユーザーを作成できない

**URL:** <https://meta.discourse.org/t/unable-to-create-user-in-discourse-from-wp-with-new-registration-form/233700>\
**Category:** WordPress\
**Created:** [2022 年 7 月 22 日午後 9:36 UTC](https://meta.discourse.org/t/unable-to-create-user-in-discourse-from-wp-with-new-registration-form/233700 "2022-07-22T21:36:27Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![Himanshu\_Singh](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/himanshu_singh/32/216438_2.png) [@Himanshu\_Singh](https://meta.discourse.org/u/Himanshu_Singh)\
**Post date:** [2022 年 7 月 27 日午前 12:19 UTC](https://meta.discourse.org/t/unable-to-create-user-in-discourse-from-wp-with-new-registration-form/233700/4 "2022-07-27T00:19:25Z")

</div>

Angus様

標準登録の場合、

1. ユーザーはフォームにアクセスし、名前、メールアドレス、パスワードを追加します。
2. 次に、ユーザーは自動的にログインされます。
3. その後、ユーザーがコミュニティリンクをクリックすると、Discourse ConnectプラグインがDiscourseで新しいユーザーを作成したため、自動的にログインされます。

2番目のフォームの場合、

1. ユーザーは名前とメールアドレスを追加します。
2. 一時パスワードを提供します。
3. 残りのプロセスは同じです。つまり、ユーザーはサインアップ時に自動的にログインされます。
4. ただし、この場合、ユーザーはDiscourseに作成されません。

登録フォームの変更によってトリガーされるDiscourse Connectの設定は見当たりません。2番目のフォームの場合にトリガーされないWPでのユーザー登録時にトリガーする必要があるフックはありますか？

実際、Discourseでユーザーを作成するために使用されるWordPressのフックは何ですか？DiscourseでアクティビティをトリガーするためにAPI呼び出しが行われているはずです。何らかの理由でそれが実行されなかったのでしょうか？

---

_[View the full topic](https://meta.discourse.org/t/unable-to-create-user-in-discourse-from-wp-with-new-registration-form/233700)._
