mirror of
https://github.com/apache/superset.git
synced 2024-09-06 13:57:40 -04:00
fix: accept only JSON credentials (#22040)
This commit is contained in:
parent
7a52b22237
commit
cd1b379bdf
@ -168,6 +168,7 @@ export const EncryptedField = ({
|
||||
|
||||
<input
|
||||
id="selectedFile"
|
||||
accept=".json"
|
||||
className="input-upload"
|
||||
type="file"
|
||||
onChange={async event => {
|
||||
|
Loading…
Reference in New Issue
Block a user