perf: 优化忘记密码,用户无手机号时无法使用手机号重置密码

This commit is contained in:
jiangweidong
2022-11-14 17:16:30 +08:00
committed by Jiangjie.Bai
parent 7280c6726e
commit b6f86e8fb6
6 changed files with 227 additions and 183 deletions

View File

@@ -62,7 +62,7 @@ class CustomCaptchaTextInput(CaptchaTextInput):
class CaptchaMixin(forms.Form):
captcha = CaptchaField(widget=CustomCaptchaTextInput)
captcha = CaptchaField(widget=CustomCaptchaTextInput, label=_('Captcha'))
class ChallengeMixin(forms.Form):