cloudflare / cloudflare/cloudflare-plugin-frontend

API key field uses regular text type input

Open
#158 0 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
JavaScript
Stars
35
Forks
22
PR merge metrics
No merged PRs in 30d

Description

The input field for API key on the login screen uses a regular `text` type, instead of `password`.

This dramatically increases the amount of places an API key is exposed.

For example browsers will show the full key as a form suggestion (image is with a revoked key).
![Screenshot from 2020-11-04 14-29-04](https://user-images.githubusercontent.com/7604138/98117776-859f1100-1eaa-11eb-9337-6f48f6e828b8.png)

I don't see a reason to not use a password type field here.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.