fix: accept only JSON credentials (#22040)

This commit is contained in:
Beto Dealmeida 2022-11-07 12:42:33 -08:00 committed by GitHub
parent 7a52b22237
commit cd1b379bdf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -168,6 +168,7 @@ export const EncryptedField = ({
<input
id="selectedFile"
accept=".json"
className="input-upload"
type="file"
onChange={async event => {