From c8684bc6e7592a645272ee58af771dfb3f14ac82 Mon Sep 17 00:00:00 2001 From: CoderMageFox Date: Mon, 10 Nov 2025 23:08:52 +0800 Subject: [PATCH] =?UTF-8?q?fix(auth):=20align=20PasswordChecklist=20specia?= =?UTF-8?q?l=20chars=20with=20validation=20logic=20(#860)=20=E4=BF=AE?= =?UTF-8?q?=E5=A4=8D=E5=AF=86=E7=A0=81=E9=AA=8C=E8=AF=81UI=E7=BB=84?= =?UTF-8?q?=E4=BB=B6=E4=B8=8E=E9=AA=8C=E8=AF=81=E9=80=BB=E8=BE=91=E4=B9=8B?= =?UTF-8?q?=E9=97=B4=E7=9A=84=E7=89=B9=E6=AE=8A=E5=AD=97=E7=AC=A6=E4=B8=8D?= =?UTF-8?q?=E4=B8=80=E8=87=B4=E9=97=AE=E9=A2=98=E3=80=82=20=E9=97=AE?= =?UTF-8?q?=E9=A2=98=E6=8F=8F=E8=BF=B0:=20-=20PasswordChecklist=E7=BB=84?= =?UTF-8?q?=E4=BB=B6=E9=BB=98=E8=AE=A4=E6=8E=A5=E5=8F=97=E6=89=80=E6=9C=89?= =?UTF-8?q?=E7=89=B9=E6=AE=8A=E5=AD=97=E7=AC=A6=EF=BC=88=E5=A6=82^=5F-~?= =?UTF-8?q?=E7=AD=89=EF=BC=89=20-=20=E5=AE=9E=E9=99=85=E9=AA=8C=E8=AF=81?= =?UTF-8?q?=E5=87=BD=E6=95=B0isStrongPassword()=E4=BB=85=E6=8E=A5=E5=8F=97?= =?UTF-8?q?@#$%!&*=3F=E5=85=B18=E4=B8=AA=E7=89=B9=E6=AE=8A=E5=AD=97?= =?UTF-8?q?=E7=AC=A6=20-=20=E5=AF=BC=E8=87=B4=E7=94=A8=E6=88=B7=E8=BE=93?= =?UTF-8?q?=E5=85=A5=E5=8C=85=E5=90=AB=E5=85=B6=E4=BB=96=E7=89=B9=E6=AE=8A?= =?UTF-8?q?=E5=AD=97=E7=AC=A6=E6=97=B6=EF=BC=8CUI=E6=98=BE=E7=A4=BA?= =?UTF-8?q?=E7=BB=BF=E8=89=B2=E5=8B=BE=E9=80=89=E4=BD=86=E6=B3=A8=E5=86=8C?= =?UTF-8?q?=E6=8C=89=E9=92=AE=E4=BB=8D=E7=A6=81=E7=94=A8=20=E4=BF=AE?= =?UTF-8?q?=E6=94=B9=E5=86=85=E5=AE=B9:=20-=20=E5=9C=A8RegisterPage.tsx?= =?UTF-8?q?=E7=9A=84PasswordChecklist=E7=BB=84=E4=BB=B6=E6=B7=BB=E5=8A=A0s?= =?UTF-8?q?pecialCharsRegex=E5=B1=9E=E6=80=A7=20-=20=E9=99=90=E5=88=B6?= =?UTF-8?q?=E7=89=B9=E6=AE=8A=E5=AD=97=E7=AC=A6=E4=B8=BA/[@#$%!&*=3F]/?= =?UTF-8?q?=EF=BC=8C=E4=B8=8EisStrongPassword()=E4=BF=9D=E6=8C=81=E4=B8=80?= =?UTF-8?q?=E8=87=B4=20=E5=BD=B1=E5=93=8D=E8=8C=83=E5=9B=B4:=20-=20?= =?UTF-8?q?=E4=BB=85=E5=BD=B1=E5=93=8D=E6=B3=A8=E5=86=8C=E9=A1=B5=E9=9D=A2?= =?UTF-8?q?=E7=9A=84=E5=AF=86=E7=A0=81=E9=AA=8C=E8=AF=81UI=E6=98=BE?= =?UTF-8?q?=E7=A4=BA=20-=20=E4=B8=8D=E5=BD=B1=E5=93=8D=E5=90=8E=E7=AB=AF?= =?UTF-8?q?=E9=AA=8C=E8=AF=81=E9=80=BB=E8=BE=91=20-=20=E6=8F=90=E5=8D=87?= =?UTF-8?q?=E7=94=A8=E6=88=B7=E4=BD=93=E9=AA=8C=EF=BC=8C=E9=81=BF=E5=85=8D?= =?UTF-8?q?=E8=AF=AF=E5=AF=BC=E6=80=A7=E7=9A=84UI=E5=8F=8D=E9=A6=88=20Clos?= =?UTF-8?q?es=20#859=20Co-authored-by:=20tinkle-community=20?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- web/src/components/RegisterPage.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/web/src/components/RegisterPage.tsx b/web/src/components/RegisterPage.tsx index 010fa081..4c1b6275 100644 --- a/web/src/components/RegisterPage.tsx +++ b/web/src/components/RegisterPage.tsx @@ -244,6 +244,7 @@ export function RegisterPage() { 'match', ]} minLength={8} + specialCharsRegex={/[@#$%!&*?]/} value={password} valueAgain={confirmPassword} messages={{