From ee1ab88594359dc45fa9d5e8ac690c90c604a06f Mon Sep 17 00:00:00 2001 From: Simran Date: Wed, 29 Jan 2020 18:38:34 +0100 Subject: [PATCH 1/2] Fix basic-auth.jsx: do not require password in UI password is not PropTypes.string.isRequired, but the markup wrongly makes it mandatory --- src/core/components/auth/basic-auth.jsx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/core/components/auth/basic-auth.jsx b/src/core/components/auth/basic-auth.jsx index 8d45d21009d..eb188715d3f 100644 --- a/src/core/components/auth/basic-auth.jsx +++ b/src/core/components/auth/basic-auth.jsx @@ -73,8 +73,7 @@ export default class BasicAuth extends React.Component { { username ? ****** - : From 3e59277c272bc24e7979a93c9eff4f652174c000 Mon Sep 17 00:00:00 2001 From: Simran Date: Thu, 30 Jan 2020 00:54:42 +0100 Subject: [PATCH 2/2] Do not require password input in http-auth.jsx This is used by the Authorize modal. Not sure when the similar code from basic-auth.jsx is used. --- src/core/plugins/oas3/components/http-auth.jsx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/core/plugins/oas3/components/http-auth.jsx b/src/core/plugins/oas3/components/http-auth.jsx index 5df10ddf148..5c324af0e2c 100644 --- a/src/core/plugins/oas3/components/http-auth.jsx +++ b/src/core/plugins/oas3/components/http-auth.jsx @@ -81,8 +81,7 @@ export default class HttpAuth extends React.Component { { username ? ****** - :