diff options
| author | bndw <ben@bdw.to> | 2021-07-04 16:13:24 -0700 |
|---|---|---|
| committer | bndw <ben@bdw.to> | 2021-07-04 16:13:24 -0700 |
| commit | 313e5f8146a1f853269c2958fbbf4aa26c2422a8 (patch) | |
| tree | 51c9df01810a858899055a03cca387cd41fa1ad2 /src | |
| parent | 72c82a5d79422bf145a6a45d65040fa5cb83ff10 (diff) | |
Set password maxLength to 63
Fixes #27
Diffstat (limited to 'src')
| -rw-r--r-- | src/components/Card.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/components/Card.js b/src/components/Card.js index 6c97947..6c2c745 100644 --- a/src/components/Card.js +++ b/src/components/Card.js | |||
| @@ -44,7 +44,7 @@ const Card = () => { | |||
| 44 | <label>Network name</label> | 44 | <label>Network name</label> |
| 45 | <input id="ssid" type="text" maxLength="32" placeholder="WiFi Network name" value={ssid} onChange={event => setSsid(event.target.value)} /> | 45 | <input id="ssid" type="text" maxLength="32" placeholder="WiFi Network name" value={ssid} onChange={event => setSsid(event.target.value)} /> |
| 46 | <label>Password</label> | 46 | <label>Password</label> |
| 47 | <input id="password" type="text" maxLength="64" placeholder="Password" value={password} onChange={event => setPassword(event.target.value)} /> | 47 | <input id="password" type="text" maxLength="63" placeholder="Password" value={password} onChange={event => setPassword(event.target.value)} /> |
| 48 | </div> | 48 | </div> |
| 49 | </div> | 49 | </div> |
| 50 | 50 | ||
