From 8dbf6b2750ad34f3645f1dbc19fdab0afc905da8 Mon Sep 17 00:00:00 2001 From: Qiao Han Date: Tue, 19 Nov 2024 13:33:37 +0800 Subject: [PATCH] chore: adjust default sms template to match platform --- pkg/config/templates/config.toml | 2 +- pkg/config/testdata/config.toml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/pkg/config/templates/config.toml b/pkg/config/templates/config.toml index 43854f7d6..979e4bdfd 100644 --- a/pkg/config/templates/config.toml +++ b/pkg/config/templates/config.toml @@ -146,7 +146,7 @@ enable_signup = false # 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 }}` }}" # Controls the minimum amount of time that must pass before sending another sms otp. max_frequency = "5s" diff --git a/pkg/config/testdata/config.toml b/pkg/config/testdata/config.toml index 9aba86c3d..a97042954 100644 --- a/pkg/config/testdata/config.toml +++ b/pkg/config/testdata/config.toml @@ -142,7 +142,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 }}` }}" # Controls the minimum amount of time that must pass before sending another sms otp. max_frequency = "5s"