Skip to content

Commit

Permalink
fix reinit password
Browse files Browse the repository at this point in the history
  • Loading branch information
tbottini committed Dec 1, 2023
1 parent 332c024 commit 4dd9a86
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions config/production.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
"port": 9000
},
"webapp": {
"hostname": "app.reseau-lichen.fr",
"url": "https://app.reseau-lichen.fr"
},
"s3": {
Expand Down
2 changes: 1 addition & 1 deletion infra/ssl/renew.bash
Original file line number Diff line number Diff line change
@@ -1 +1 @@
docker compose run --rm certbot renew
docker-compose run --rm certbot renew
2 changes: 1 addition & 1 deletion srcs/users/services/AccountMail.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ export class AccountMailer implements IAccountMailer {
resetPassword(receiverEmail: string, params: ResetPasswordParams): void {
const resetMail = this.mailRepository
.getTemplate('reinit')
.set('hostname', config.webapp.url)
.set('hostname', config.webapp.hostname)
.set('token', params.token)
.set('id', params.id.toString())
.set('firstname', params.firstname || '')
Expand Down

0 comments on commit 4dd9a86

Please sign in to comment.