diff options
author | Jonas Östanbäck <cez81@users.noreply.github.com> | 2017-05-29 09:35:47 +0200 |
---|---|---|
committer | Bo-Yi Wu <appleboy.tw@gmail.com> | 2017-05-29 02:35:47 -0500 |
commit | b93568cce4717abd97f1f92341ce9fdf331a7e98 (patch) | |
tree | 9234c805be991b8d1876bb4641d07b1f6f1251c8 /templates/mail | |
parent | e0c6ab2d44d17b72a7ea6f8b4c829c42baeaae3b (diff) | |
download | gitea-b93568cce4717abd97f1f92341ce9fdf331a7e98.tar.gz gitea-b93568cce4717abd97f1f92341ce9fdf331a7e98.zip |
xxx_active_code_live setting in printed in hours and minutes instead … (#1814)
* xxx_active_code_live setting in printed in hours and minutes instead of just hours
* Update app.ini description of xxx_code_lives settings
Diffstat (limited to 'templates/mail')
-rw-r--r-- | templates/mail/auth/activate.tmpl | 2 | ||||
-rw-r--r-- | templates/mail/auth/activate_email.tmpl | 2 | ||||
-rw-r--r-- | templates/mail/auth/reset_passwd.tmpl | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/templates/mail/auth/activate.tmpl b/templates/mail/auth/activate.tmpl index 4a2e7eeb84..5721199a2e 100644 --- a/templates/mail/auth/activate.tmpl +++ b/templates/mail/auth/activate.tmpl @@ -7,7 +7,7 @@ <body> <p>Hi <b>{{.Username}}</b>, thanks for registering at {{AppName}}!</p> - <p>Please click the following link to verify your e-mail address within <b>{{.ActiveCodeLives}} hours</b>:</p> + <p>Please click the following link to verify your e-mail address within <b>{{.ActiveCodeLives}}</b>:</p> <p><a href="{{AppUrl}}user/activate?code={{.Code}}">{{AppUrl}}user/activate?code={{.Code}}</a></p> <p>Not working? Try copying and pasting it to your browser.</p> <p>© <a target="_blank" rel="noopener" href="{{AppUrl}}">{{AppName}}</a></p> diff --git a/templates/mail/auth/activate_email.tmpl b/templates/mail/auth/activate_email.tmpl index c1031b2831..5111de06c5 100644 --- a/templates/mail/auth/activate_email.tmpl +++ b/templates/mail/auth/activate_email.tmpl @@ -7,7 +7,7 @@ <body> <p>Hi <b>{{.Username}}</b>,</p> - <p>Please click the following link to verify your email address within <b>{{.ActiveCodeLives}} hours</b>:</p> + <p>Please click the following link to verify your email address within <b>{{.ActiveCodeLives}}</b>:</p> <p><a href="{{AppUrl}}user/activate_email?code={{.Code}}&email={{.Email}}">{{AppUrl}}user/activate_email?code={{.Code}}&email={{.Email}}</a></p> <p>Not working? Try copying and pasting it to your browser.</p> <p>© <a target="_blank" rel="noopener" href="{{AppUrl}}">{{AppName}}</a></p> diff --git a/templates/mail/auth/reset_passwd.tmpl b/templates/mail/auth/reset_passwd.tmpl index 69719bce4b..ed51896b03 100644 --- a/templates/mail/auth/reset_passwd.tmpl +++ b/templates/mail/auth/reset_passwd.tmpl @@ -7,7 +7,7 @@ <body> <p>Hi <b>{{.Username}}</b>,</p> - <p>Please click the following link to verify your email address within <b>{{.ResetPwdCodeLives}} hours</b>:</p> + <p>Please click the following link to verify your email address within <b>{{.ResetPwdCodeLives}}</b>:</p> <p><a href="{{AppUrl}}user/reset_password?code={{.Code}}">{{AppUrl}}user/reset_password?code={{.Code}}</a></p> <p>Not working? Try copying and pasting it to your browser.</p> <p>© <a target="_blank" rel="noopener" href="{{AppUrl}}">{{AppName}}</a></p> |