Skip to content

Commit

Permalink
chore: update template string
Browse files Browse the repository at this point in the history
  • Loading branch information
jibin2706 committed Nov 13, 2023
1 parent 41cd48b commit 22fa1e8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion internal/utils/templates/init_config.test.toml
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ enable_signup = true
# If enabled, users need to confirm their phone number before signing in.
enable_confirmations = false
# Template for sending OTP to users
template = "Your code is {{ .Code }} ."
template = "Your code is {{ `{{.Code }}` }} ."

# Use pre-defined map of phone number to OTP for testing.
[auth.sms.test_otp]
Expand Down
2 changes: 1 addition & 1 deletion internal/utils/templates/init_config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ enable_signup = true
# If enabled, users need to confirm their phone number before signing in.
enable_confirmations = false
# Template for sending OTP to users
template = "Your code is {{ .Code }} ."
template = "Your code is {{ `{{.Code }}` }} ."

# Use pre-defined map of phone number to OTP for testing.
[auth.sms.test_otp]
Expand Down

0 comments on commit 22fa1e8

Please sign in to comment.