Skip to content

Commit

Permalink
Avoid auto complete for OpenID scopes (#16160)
Browse files Browse the repository at this point in the history
Co-authored-by: Tony Han <[email protected]>
  • Loading branch information
hishamco and hyzx86 authored Jun 18, 2024
1 parent 5e90031 commit 7a14fd9
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@

<div class="mb-3" asp-validation-class-for="Scopes">
<label asp-for="Scopes" class="form-label">@T["Scopes"]</label>
<input asp-for="Scopes" class="form-control" />
<input asp-for="Scopes" class="form-control" autocomplete="new-password" />
<span asp-validation-for="Scopes"></span>
<span class="hint">@T["extra scopes except openid and profile"]</span>
</div>
Expand Down Expand Up @@ -144,7 +144,7 @@

<div class="mb-3 collapse" asp-validation-class-for="ClientSecret">
<label asp-for="ClientSecret" class="form-label">@T["Client Secret"]</label>
<input asp-for="ClientSecret" class="form-control" type="password" autocomplete="off" />
<input asp-for="ClientSecret" class="form-control" type="password" autocomplete="new-password" />
<span asp-validation-for="ClientSecret"></span>
<span class="hint">@T["set client secret."]</span>
</div>
Expand Down

0 comments on commit 7a14fd9

Please sign in to comment.