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 bfc80b5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
## New version

* We don't need to add `config.action_mailer.default_url_options` anymore

## Authentication Zero 4.0.2 ##

* Remove dependency on redis / kredis for sudoable
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 bfc80b5

Please sign in to comment.