mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-10-15 16:52:38 +00:00
Merge pull request #2999 from Infisical/misc/added-handling-for-case-enforcement
misc: added handling of secret case enforcement
This commit is contained in:
+2
-2
@@ -169,8 +169,8 @@ export const CreateSecretForm = ({ secretPath = "/", onClose }: Props) => {
|
||||
|
||||
if (!secretKey || isWholeKeyHighlighted) {
|
||||
e.preventDefault();
|
||||
|
||||
setValue("key", key);
|
||||
const keyStr = currentWorkspace.autoCapitalization ? key.toUpperCase() : key;
|
||||
setValue("key", keyStr);
|
||||
if (value) {
|
||||
setValue("value", value);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user