Skip to content

Commit bfc80b5

Browse files
committed
We don't need to add action_mailer.default_url_options
1 parent fb64ddf commit bfc80b5

File tree

2 files changed

+2
-5
lines changed

2 files changed

+2
-5
lines changed

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
## New version
22

3+
* We don't need to add `config.action_mailer.default_url_options` anymore
4+
35
## Authentication Zero 4.0.2 ##
46

57
* Remove dependency on redis / kredis for sudoable

lib/generators/authentication/authentication_generator.rb

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -40,11 +40,6 @@ def add_gems
4040
end
4141
end
4242

43-
def add_environment_configurations
44-
application "config.action_mailer.default_url_options = { host: \"localhost\", port: 3000 }", env: "development"
45-
application "config.action_mailer.default_url_options = { host: \"localhost\", port: 3000 }", env: "test"
46-
end
47-
4843
def create_configuration_files
4944
copy_file "config/initializers/omniauth.rb" if omniauthable?
5045
copy_file "config/initializers/webauthn.rb" if webauthn?

0 commit comments

Comments
 (0)