Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(auth): use password type for API key input #9858

Closed
wants to merge 2 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
9 changes: 5 additions & 4 deletions docs/development/setting-up.md
Expand Up @@ -10,10 +10,11 @@ Swagger UI includes a development server that provides hot module reloading and
### Steps

1. `git clone https://github.com/swagger-api/swagger-ui.git`
2. `cd swagger-ui`
3. `npm run dev`
4. Wait a bit
5. Open http://localhost:3200/
1. `cd swagger-ui`
1. `npm install`
1. `npm run dev`
1. Wait a bit
1. Open http://localhost:3200/
Comment on lines +13 to +17
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I changed this to all 1. so future diffs easier, Markdown should already render this correctly, see https://github.com/swagger-api/swagger-ui/blob/cec33bbe2974f336af968a7cef96fd078a06458f/docs/development/setting-up.md. But I can revert to numbers if needed.


### Using your own local api definition with local dev build

Expand Down
2 changes: 1 addition & 1 deletion src/core/components/auth/api-key-auth.jsx
Expand Up @@ -72,7 +72,7 @@ export default class ApiKeyAuth extends React.Component {
: <Col>
<Input
id="api_key_value"
type="text"
type="password"
onChange={ this.onChange }
autoFocus
/>
Expand Down