Skip to content

Commit

Permalink
Update authorize.tmpl
Browse files Browse the repository at this point in the history
  • Loading branch information
DeyiXu committed May 17, 2020
1 parent a5aa74c commit 4cc0c64
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion web/templates/oauth2/authorize.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
<h1>是否愿意代表您执行操作</h1>
<p class="lead">授权范围</p>
{{range $scope := .scopes}}
<input type="checkbox" {{if $scope.checked}}checked{{end}} name="scopes" value="{{$scope.text}}" id="scope_{{$scope.text}}">
<input type="checkbox" {{if $scope.checked}}checked{{end}} name="scope" value="{{$scope.text}}" id="scope_{{$scope.text}}">
<label for="scope_{{$scope.text}}">{{$scope.text}}</label>
<br />
{{end}}
Expand Down

0 comments on commit 4cc0c64

Please sign in to comment.