diff --git a/web/templates/approval.html b/web/templates/approval.html index 2fa7bf211659812396bb5680a21cbf4967b6c084..1c037d2d2b9b53084d8ec6ec2566ae05d4d3082f 100644 --- a/web/templates/approval.html +++ b/web/templates/approval.html @@ -5,12 +5,16 @@ <hr class="dex-separator"> <div> + {{ if .Scopes }} <div class="dex-subtle-text">{{ .Client }} would like to:</div> <ul class="dex-list"> {{ range $scope := .Scopes }} <li>{{ $scope }}</li> {{ end }} </ul> + {{ else }} + <div class="dex-subtle-text">{{ .Client }} has not requested any personal information</div> + {{ end }} </div> <hr class="dex-separator">