Hostname is hard-coded
Summary
Hostname is hard-coded
Steps to reproduce (STR)
- Install Amies somewhere
- Register as a new user
- The confirmation email provides a wrong link (always leading to
amiestest.adullact.org
, whatever the host actually hosting Amies)
What is the current bug behavior? (CBB)
Confirmation link always leads to the same URL, whatever the instance AMIES is installed on.
What is the expected correct behavior? (ECB)
Have a confirmation link pointing to the instance on which AMIES is installed
Relevant logs and/or screenshots
Possible fixes
The string amiestest.adullact.org
is visible in the following files:
backend/src/main/resources/application.yml
backend/src/main/resources/mail/lostpassword/lostpassword-html.mustache
backend/src/main/resources/mail/lostpassword/lostpassword-text.mustache
backend/src/main/resources/mail/new-issue/new-issue-html.mustache
backend/src/main/resources/mail/new-issue/new-issue-text.mustache
backend/src/main/resources/mail/registration/registration-html.mustache
backend/src/main/resources/mail/registration/registration-text.mustache
backend/src/test/kotlin/net/adullact/amies/service/mail/IssueAssignmentMailerTest.kt
backend/src/test/kotlin/net/adullact/amies/service/mail/LostPasswordMailerTest.kt
backend/src/test/kotlin/net/adullact/amies/service/mail/RegistrationMailerTest.kt
/cc @mfaure