mirror of
https://github.com/jumpserver/jumpserver.git
synced 2025-11-02 23:13:41 +00:00
perf: 优化忘记密码,用户无手机号时无法使用手机号重置密码
This commit is contained in:
committed by
Jiangjie.Bai
parent
7280c6726e
commit
b6f86e8fb6
@@ -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):
|
||||
|
||||
Reference in New Issue
Block a user