diff --git a/web/components/admin/config/server/StreamKeys.tsx b/web/components/admin/config/server/StreamKeys.tsx index 2ca850215..ff353fead 100644 --- a/web/components/admin/config/server/StreamKeys.tsx +++ b/web/components/admin/config/server/StreamKeys.tsx @@ -57,6 +57,7 @@ const AddKeyForm = ({ setShowAddKeyForm, setFieldInConfigState, streamKeys, setE const [hasChanged, setHasChanged] = useState(true); const [form] = Form.useForm(); const { Item } = Form; + // Password Complexity rules const passwordComplexityRules = []; @@ -98,6 +99,7 @@ const AddKeyForm = ({ setShowAddKeyForm, setFieldInConfigState, streamKeys, setE onFinish={handleAddKey} form={form} style={{ display: 'flex', flexDirection: 'row' }} + initialValues={{ key: defaultKey, comment: 'My new key' }} > - +