Skip to content

Commit 54c0fe6

Browse files
jolheisersoumyadeylunny
authored
Fix input.value attr for RequiredClaimName/Value (#20946) (#21001)
Values set for RequiredClaimName and RequiredClaimValue do not show up on UI. Fix typo `values` to `value`. Co-authored-by: soumyadey <[email protected]> Co-authored-by: Lunny Xiao <[email protected]>
1 parent 2e2133d commit 54c0fe6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

templates/admin/auth/edit.tmpl

+2-2
Original file line numberDiff line numberDiff line change
@@ -341,12 +341,12 @@
341341
</div>
342342
<div class="field">
343343
<label for="oauth2_required_claim_name">{{.i18n.Tr "admin.auths.oauth2_required_claim_name"}}</label>
344-
<input id="oauth2_required_claim_name" name="oauth2_required_claim_name" values="{{$cfg.RequiredClaimName}}">
344+
<input id="oauth2_required_claim_name" name="oauth2_required_claim_name" value="{{$cfg.RequiredClaimName}}">
345345
<p class="help">{{.i18n.Tr "admin.auths.oauth2_required_claim_name_helper"}}</p>
346346
</div>
347347
<div class="field">
348348
<label for="oauth2_required_claim_value">{{.i18n.Tr "admin.auths.oauth2_required_claim_value"}}</label>
349-
<input id="oauth2_required_claim_value" name="oauth2_required_claim_value" values="{{$cfg.RequiredClaimValue}}">
349+
<input id="oauth2_required_claim_value" name="oauth2_required_claim_value" value="{{$cfg.RequiredClaimValue}}">
350350
<p class="help">{{.i18n.Tr "admin.auths.oauth2_required_claim_value_helper"}}</p>
351351
</div>
352352
<div class="field">

0 commit comments

Comments
 (0)