💄 Changed scope form field tag template
This commit is contained in:
parent
364f974c0b
commit
80895bfed3
1 changed files with 10 additions and 1 deletions
|
@ -50,13 +50,22 @@
|
|||
"redirect_uri": p.Client.RedirectURI[0].String(),
|
||||
"response_type": domain.ResponseTypeCode.String(),
|
||||
"state": p.State,
|
||||
"scope": domain.Scopes{domain.ScopeProfile, domain.ScopeEmail}.String(),
|
||||
} %}
|
||||
<input
|
||||
type="hidden"
|
||||
name="{%s name %}"
|
||||
value="{%s value %}">
|
||||
{% endfor %}
|
||||
|
||||
{% for _, scope := domain.Scopes{
|
||||
domain.ScopeProfile,
|
||||
domain.ScopeEmail,
|
||||
} %}
|
||||
<input
|
||||
type="hidden"
|
||||
name="scope[]"
|
||||
value="{%s scope.String() %}">
|
||||
{% endfor %}
|
||||
|
||||
<input
|
||||
type="url"
|
||||
|
|
Loading…
Reference in a new issue