diff options
Diffstat (limited to 'templates')
-rw-r--r-- | templates/admin/auth/source/oauth.tmpl | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/templates/admin/auth/source/oauth.tmpl b/templates/admin/auth/source/oauth.tmpl index e4ae736e8f..277ebdb011 100644 --- a/templates/admin/auth/source/oauth.tmpl +++ b/templates/admin/auth/source/oauth.tmpl @@ -74,16 +74,16 @@ <div class="field"> <label for="oauth2_scopes">{{.locale.Tr "admin.auths.oauth2_scopes"}}</label> - <input id="oauth2_scopes" name="oauth2_scopes" values="{{.oauth2_scopes}}"> + <input id="oauth2_scopes" name="oauth2_scopes" value="{{.oauth2_scopes}}"> </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="{{.oauth2_required_claim_name}}"> + <input id="oauth2_required_claim_name" name="oauth2_required_claim_name" value="{{.oauth2_required_claim_name}}"> <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="{{.oauth2_required_claim_value}}"> + <input id="oauth2_required_claim_value" name="oauth2_required_claim_value" value="{{.oauth2_required_claim_value}}"> <p class="help">{{.locale.Tr "admin.auths.oauth2_required_claim_value_helper"}}</p> </div> <div class="field"> @@ -92,18 +92,18 @@ </div> <div class="field"> <label for="oauth2_admin_group">{{.locale.Tr "admin.auths.oauth2_admin_group"}}</label> - <input id="oauth2_admin_group" name="oauth2_admin_group" value="{{.oauth2_group_claim_name}}"> + <input id="oauth2_admin_group" name="oauth2_admin_group" value="{{.oauth2_admin_group}}"> </div> <div class="field"> <label for="oauth2_restricted_group">{{.locale.Tr "admin.auths.oauth2_restricted_group"}}</label> - <input id="oauth2_restricted_group" name="oauth2_restricted_group" value="{{.oauth2_group_claim_name}}"> + <input id="oauth2_restricted_group" name="oauth2_restricted_group" value="{{.oauth2_restricted_group}}"> </div> <div class="field"> <label>{{.locale.Tr "admin.auths.oauth2_map_group_to_team"}}</label> - <input name="oauth2_group_team_map" value="{{.group_team_map}}" placeholder='e.g. {"Developer": {"MyGiteaOrganization": ["MyGiteaTeam1", "MyGiteaTeam2"]}}'> + <input name="oauth2_group_team_map" value="{{.oauth2_group_team_map}}" placeholder='e.g. {"Developer": {"MyGiteaOrganization": ["MyGiteaTeam1", "MyGiteaTeam2"]}}'> </div> <div class="ui checkbox"> <label>{{.locale.Tr "admin.auths.oauth2_map_group_to_team_removal"}}</label> - <input name="oauth2_group_team_map_removal" type="checkbox" {{if .group_team_map_removal}}checked{{end}}> + <input name="oauth2_group_team_map_removal" type="checkbox" {{if .oauth2_group_team_map_removal}}checked{{end}}> </div> </div> |