1
0
mirror of https://github.com/stonith404/pingvin-share.git synced 2024-11-15 03:50:11 +01:00

fix: disable auto complete for email recipients and share password

This commit is contained in:
Elias Schneider 2024-09-24 10:24:48 +02:00
parent 5553607ffe
commit ee73293c0f
No known key found for this signature in database
GPG Key ID: 07E623B294202B6C

View File

@ -370,8 +370,7 @@ const CreateUploadModalBody = ({
placeholder={t("upload.modal.accordion.email.placeholder")}
searchable
creatable
id="recipient_email"
autoComplete="email"
id="recipient-emails"
type="email"
getCreateLabel={(query) => `+ ${query}`}
onCreate={(query) => {
@ -426,7 +425,7 @@ const CreateUploadModalBody = ({
"upload.modal.accordion.security.password.placeholder",
)}
label={t("upload.modal.accordion.security.password.label")}
autoComplete="off"
autoComplete="new-password"
{...form.getInputProps("password")}
/>
<NumberInput