diff options
author | soumyadey <soumya.dey@gmail.com> | 2022-08-25 11:47:03 +0530 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-08-25 07:17:03 +0100 |
commit | a2db81063be90499c16cbe1af777ee8858aa192d (patch) | |
tree | 4794423cf099a68f5e2dd4749cbb5c5132d381ee /templates/admin/auth/edit.tmpl | |
parent | 1d8543e7db58d7c4973758e47f005c4d8bd7d7a3 (diff) | |
download | gitea-a2db81063be90499c16cbe1af777ee8858aa192d.tar.gz gitea-a2db81063be90499c16cbe1af777ee8858aa192d.zip |
Fix input.value attr for RequiredClaimName/Value (#20946)
Values set for RequiredClaimName and RequiredClaimValue do not show up on UI.
Fix typo `values` to `value`.
Diffstat (limited to 'templates/admin/auth/edit.tmpl')
-rw-r--r-- | templates/admin/auth/edit.tmpl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/admin/auth/edit.tmpl b/templates/admin/auth/edit.tmpl index af3f381c8e..18722f4837 100644 --- a/templates/admin/auth/edit.tmpl +++ b/templates/admin/auth/edit.tmpl @@ -341,12 +341,12 @@ </div> <div class="field"> <label for="oauth2_required_claim_name">{{.locale.Tr "admin.auths.oauth2_required_claim_name"}}</label> - <input id="oauth2_required_claim_name" name="oauth2_required_claim_name" values="{{$cfg.RequiredClaimName}}"> + <input id="oauth2_required_claim_name" name="oauth2_required_claim_name" value="{{$cfg.RequiredClaimName}}"> <p class="help">{{.locale.Tr "admin.auths.oauth2_required_claim_name_helper"}}</p> </div> <div class="field"> <label for="oauth2_required_claim_value">{{.locale.Tr "admin.auths.oauth2_required_claim_value"}}</label> - <input id="oauth2_required_claim_value" name="oauth2_required_claim_value" values="{{$cfg.RequiredClaimValue}}"> + <input id="oauth2_required_claim_value" name="oauth2_required_claim_value" value="{{$cfg.RequiredClaimValue}}"> <p class="help">{{.locale.Tr "admin.auths.oauth2_required_claim_value_helper"}}</p> </div> <div class="field"> |