Skip to content

Commit

Permalink
To prevent unwanted states necessary input fields are now required (#53)
Browse files Browse the repository at this point in the history
  • Loading branch information
MathiasTim authored Feb 27, 2024
1 parent caa442a commit a59f1d0
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions packages/auth/examples/client-credentials.html
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,11 @@ <h1>Client Credentials</h1>
<form id="clientCredentialsForm">
<label>
<span>Client ID</span>
<input type="text" name="clientId" />
<input type="text" name="clientId" required />
</label>
<label>
<span>Client Secret</span>
<input type="text" name="clientSecret" />
<input type="text" name="clientSecret" required />
</label>

<button type="submit">Login</button>
Expand Down
2 changes: 1 addition & 1 deletion packages/auth/examples/limited-input-device.html
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ <h1>Limited input device (e.g. TV)</h1>
<form id="limitedInputDeviceForm">
<label>
<span>Client Id</span>
<input type="text" name="clientId" />
<input type="text" name="clientId" required />
</label>

<button type="submit">Login</button>
Expand Down
4 changes: 2 additions & 2 deletions packages/auth/examples/login-redirect.html
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,11 @@ <h1>Login redirect</h1>
<form id="loginRedirectForm">
<label>
<span>Client Id</span>
<input type="text" name="clientId" />
<input type="text" name="clientId" required />
</label>
<label>
<span>Redirect url</span>
<input type="text" name="redirectUrl" />
<input type="text" name="redirectUrl" required />
</label>

<button type="submit">Login</button>
Expand Down

0 comments on commit a59f1d0

Please sign in to comment.