Skip to content

Commit af7f082

Browse files
committed
fix
1 parent 739364c commit af7f082

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

‎config/dev.exs‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -108,8 +108,8 @@ if System.get_env("SMTP_PASSWORD") do
108108
username: System.get_env("SMTP_USERNAME"),
109109
password: System.get_env("SMTP_PASSWORD"),
110110
port: System.get_env("SMTP_PORT"),
111-
tls: String.to_existing_atom(System.get_env("SMTP_TLS") || "if_available"),
112-
ssl: String.to_existing_atom(System.get_env("SMTP_SSL") || "true"),
111+
tls: String.to_existing_atom(System.get_env("SMTP_TLS") || "always"),
112+
ssl: String.to_existing_atom(System.get_env("SMTP_SSL") || "never"),
113113
retries: 2
114114

115115
# When using an SMTP adapter we may still need the HTTP API client for

‎config/runtime.exs‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -142,8 +142,8 @@ if config_env() == :prod do
142142
username: System.get_env("SMTP_USERNAME"),
143143
password: System.get_env("SMTP_PASSWORD"),
144144
port: System.get_env("SMTP_PORT"),
145-
tls: String.to_existing_atom(System.get_env("SMTP_TLS") || "if_available"),
146-
ssl: String.to_existing_atom(System.get_env("SMTP_SSL") || "true"),
145+
tls: String.to_existing_atom(System.get_env("SMTP_TLS") || "always"),
146+
ssl: String.to_existing_atom(System.get_env("SMTP_SSL") || "never"),
147147
retries: 2
148148

149149
# Configure Swoosh to use Req for HTTP requests

‎lib/game_server_web/live/admin_live/config.ex‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ defmodule GameServerWeb.AdminLive.Config do
1616
Configuration
1717
<:subtitle>System configuration settings and setup guides</:subtitle>
1818
</.header>
19-
19+
2020
<!-- Current Configuration Status -->
2121
<div class="card bg-base-100 shadow-xl" data-card-key="config_status">
2222
<div class="card-body">
@@ -450,7 +450,7 @@ defmodule GameServerWeb.AdminLive.Config do
450450
<div class="text-xs text-muted">No test yet</div>
451451
<% end %>
452452
</div>
453-
453+
454454
<!-- Full docs modal / pane -->
455455
<%= if @hooks_full_doc do %>
456456
<div class="mt-2 p-3 border rounded bg-base-100">
@@ -477,7 +477,7 @@ defmodule GameServerWeb.AdminLive.Config do
477477
</div>
478478
</div>
479479
</div>
480-
480+
481481
<!-- Admin Tools -->
482482
<div class="card bg-base-100 shadow-xl" data-card-key="admin_tools">
483483
<div class="card-body">

0 commit comments

Comments
 (0)