Skip to content

Commit

Permalink
fix the url to the opt sign in page in the emails containing the otp …
Browse files Browse the repository at this point in the history
…code when user logs in
  • Loading branch information
ltello committed Feb 6, 2025
1 parent dcd41a6 commit 96a5f23
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion app/views/otp_mailer/otp_code_email.text.erb
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Dear <%= @recipient_name %>

# Use this code to sign in to [ECF 2](otp_sign_in_code_url)
# Use this code to sign in to [ECF 2](<%= otp_sign_in_code_url %>)

^ <%= @code %>

Expand Down
1 change: 1 addition & 0 deletions config/environments/test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@
# The :test delivery method accumulates sent emails in the
# ActionMailer::Base.deliveries array.
config.action_mailer.delivery_method = :test
config.action_mailer.default_url_options = { host: "localhost", port: 3000 }

# Print deprecation notices to the stderr.
config.active_support.deprecation = :stderr
Expand Down

0 comments on commit 96a5f23

Please sign in to comment.