fix: password strength banner validation (#4935)
This commit is contained in:
parent
99184371f7
commit
bafe3f9c45
1 changed files with 1 additions and 1 deletions
|
|
@ -117,7 +117,7 @@ export const AuthPasswordForm: React.FC<Props> = observer((props: Props) => {
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<>
|
<>
|
||||||
{isBannerMessage && (
|
{isBannerMessage && mode === EAuthModes.SIGN_UP && (
|
||||||
<div className="relative flex items-center p-2 rounded-md gap-2 border border-red-500/50 bg-red-500/10">
|
<div className="relative flex items-center p-2 rounded-md gap-2 border border-red-500/50 bg-red-500/10">
|
||||||
<div className="w-4 h-4 flex-shrink-0 relative flex justify-center items-center">
|
<div className="w-4 h-4 flex-shrink-0 relative flex justify-center items-center">
|
||||||
<Info size={16} className="text-red-500" />
|
<Info size={16} className="text-red-500" />
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue