Add 'optional' to HTTP auth fields

This commit is contained in:
James Nuanez
2020-04-24 11:20:58 -07:00
parent 2411fdf6ee
commit 9c2c05ae4a
2 changed files with 6 additions and 0 deletions
+2
View File
@@ -441,6 +441,7 @@ const AccountForm = props => {
id="user"
value={user || ''}
onChange={e => setUser(e.target.value)}
placeholder="Optional"
invalid={invalidUser}
ref={refUser}
/>
@@ -453,6 +454,7 @@ const AccountForm = props => {
password={password}
setPassword={setPassword}
setErrorMessage={setErrorMessage}
placeholder="Optional"
invalid={invalidPassword}
ref={refPassword}
/>
+4
View File
@@ -476,6 +476,7 @@ const ApplicationForm = props => {
id="callWebhookUser"
value={callWebhookUser}
onChange={e => setCallWebhookUser(e.target.value)}
placeholder="Optional"
invalid={invalidCallWebhookUser}
ref={refCallWebhookUser}
/>
@@ -488,6 +489,7 @@ const ApplicationForm = props => {
password={callWebhookPass}
setPassword={setCallWebhookPass}
setErrorMessage={setErrorMessage}
placeholder="Optional"
invalid={invalidCallWebhookPass}
ref={refCallWebhookPass}
/>
@@ -545,6 +547,7 @@ const ApplicationForm = props => {
id="statusWebhookUser"
value={statusWebhookUser}
onChange={e => setStatusWebhookUser(e.target.value)}
placeholder="Optional"
invalid={invalidStatusWebhookUser}
ref={refStatusWebhookUser}
/>
@@ -557,6 +560,7 @@ const ApplicationForm = props => {
password={statusWebhookPass}
setPassword={setStatusWebhookPass}
setErrorMessage={setErrorMessage}
placeholder="Optional"
invalid={invalidStatusWebhookPass}
ref={refStatusWebhookPass}
/>