Новых пользователей перенаправляют на id.discourse.com вместо регистрации на форуме

Недавно я установил Discourse на свой сервер, но столкнулся с проблемой при регистрации пользователей. Когда новый пользователь пытается создать аккаунт, его перенаправляют на id.discourse.com вместо завершения регистрации прямо на моём форуме.

Мне нужно, чтобы весь процесс регистрации проходил на моём собственном форуме.

Возможно, это происходит потому, что я не настроил SMTP во время первоначальной установки? Если да, как можно подключить SMTP уже после установки?

В настоящее время я использую Brevo для отправки писем, поэтому, если у кого-то есть пошаговая инструкция или рекомендуемые настройки для интеграции Brevo с Discourse, это было бы очень полезно.

3 лайка

If you didn’t setup email, you can do so by editing the details in your app.yml file by setting up DISCOURSE_SMTP_USER_NAME and DISCOURSE_SMTP_PASSWORD variables.

IIRC you can disable Discourse ID completely with the enable discourse id setting.

See this section for setting up email:

Enter these values when prompted by ./discourse-setup per the install guide. To change the current email service, run ./discourse-setup as well (this will bring the forum offline for a few minutes while it gets rebuilt).

Brevo, previously SendInBlue, GDPR — 300 email per day free

SMTP server address? smtp-relay.brevo.com
SMTP user name?      [SMTP credentials for your domain under [SMTP-Key tab](https://app.brevo.com/settings/keys/smtp)]
SMTP password?       [SMTP credentials for your domain under [SMTP-Key tab](https://app.brevo.com/settings/keys/smtp)]
Port:                587
3 лайка

I did all the above mentioned steps but the main issue remains the same.

In admin Settings, I turned off the discourse ID but now when user clicks on ‘signup‘ no field is shown on the page.

Hmm… do you have the allow new registrations setting enabled?

And Enable local logins too.

6 лайков