Skip to content

Commit

Permalink
We don't need to add action_mailer.default_url_options
Browse files Browse the repository at this point in the history
  • Loading branch information
lazaronixon committed Oct 26, 2024
1 parent fb64ddf commit 2381d98
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
## New version
* We don't need to add `config.action_mailer.default_url_options`

## Authentication Zero 4.0.2 ##

Expand Down
5 changes: 0 additions & 5 deletions lib/generators/authentication/authentication_generator.rb
Original file line number Diff line number Diff line change
Expand Up @@ -40,11 +40,6 @@ def add_gems
end
end

def add_environment_configurations
application "config.action_mailer.default_url_options = { host: \"localhost\", port: 3000 }", env: "development"
application "config.action_mailer.default_url_options = { host: \"localhost\", port: 3000 }", env: "test"
end

def create_configuration_files
copy_file "config/initializers/omniauth.rb" if omniauthable?
copy_file "config/initializers/webauthn.rb" if webauthn?
Expand Down

0 comments on commit 2381d98

Please sign in to comment.