Skip to content

Commit bbbd08e

Browse files
cez81lunny
authored andcommitted
Changed text when password reset disabled. (#1364)
Fixes #1340
1 parent 1b1b854 commit bbbd08e

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

options/locale/locale_en-US.ini

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -196,6 +196,7 @@ openid_connect_desc = The entered OpenID URIs is not know by the system, here yo
196196
openid_register_title = Create new account
197197
openid_register_desc = The entered OpenID URIs is not know by the system, here you can associate it to a new account.
198198
openid_signin_desc = Example URIs: https://anne.me, bob.openid.org.cn, gnusocial.net/carry
199+
disable_forgot_password_mail = Sorry, password reset has been disabled. Please contact the site administrator.
199200

200201
[mail]
201202
activate_account = Please activate your account

templates/user/auth/forgot_passwd.tmpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
<button class="ui blue button">{{.i18n.Tr "auth.send_reset_mail"}}</button>
2323
</div>
2424
{{else if .IsResetDisable}}
25-
<p class="center">{{.i18n.Tr "auth.disable_register_mail"}}</p>
25+
<p class="center">{{.i18n.Tr "auth.disable_forgot_password_mail"}}</p>
2626
{{else if .ResendLimited}}
2727
<p class="center">{{.i18n.Tr "auth.resent_limit_prompt"}}</p>
2828
{{end}}

0 commit comments

Comments
 (0)