こんにちは
フォーラムのドメインを変更したところ、パスワードリセット時に以下の問題が発生しました。
ご覧の通り、メールの下部にあるリセットリンクには、まだ古いドメインが使用されています。新しいドメインに置き換えることでパスワードのリセットはできましたが、他のユーザーにも同様の問題が発生しないようにするには、どのように修正すればよいでしょうか?
よろしくお願いいたします
Changed the company domain in settings?
Yes I have gone through and changed all the settings.
I believe it has changed in the app.yml, rebuilt correct?
Yes, I followed Jeff’s instructions here: Change the domain name or rename your Discourse
Or at least I think I did. I’m receiving emails to the correct address, anyhow.
I also just noticed on the Terms of Service page at /t/terms-of-service/4 that all references to the domain have updated but references to the company name have not.
To clarify what I did with app.yml, I did
./launcher enter app
discourse remap forum.olddomain.org discuss.newdomain.org
rake posts:rebake
and also
./launcher enter app
discourse remap olddomain.org newdomain.org
rake posts:rebake
Oh wait, I can see what I have done wrong. I haven’t edited the hostname line in app.yml.
Edit is app.yml
cd /var/discourse
sudo nano containers/app.yml
Edit
Hostname for your Discourse? [discourse.example.com]:
Aperte ctrl + x depois y e ENTER
sudo ./launcher rebuild app
Got it working! Thanks a lot.