🩹 front: removing the password on an expired public link doesnt need a warning (#50)
This commit is contained in:
committed by
ericlinagora
parent
5755e72e42
commit
a524df0168
+1
-1
@@ -130,7 +130,7 @@ export const PasswordEditorRow = (props: {
|
|||||||
if (checked && !currentEditedPassword.length)
|
if (checked && !currentEditedPassword.length)
|
||||||
setCurrentEditedPassword(!props.password?.length ? Math.random().toString(36).slice(-8) : props.password);
|
setCurrentEditedPassword(!props.password?.length ? Math.random().toString(36).slice(-8) : props.password);
|
||||||
} else
|
} else
|
||||||
setIsConfirmingPasswordRemoval(true);
|
confirmSavePassword("");
|
||||||
}}
|
}}
|
||||||
/>
|
/>
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user