mirror of
https://github.com/simple-login/app.git
synced 2024-09-27 20:31:30 +02:00
do not display avatar_url to user
This commit is contained in:
parent
65a540030f
commit
91bf3e3379
@ -6,7 +6,13 @@
|
||||
|
||||
<ul class="mt-3">
|
||||
{% for scope in client.get_scopes() %}
|
||||
<li>{{ scope.value }}</li>
|
||||
<li>
|
||||
{% if scope == Scope.AVATAR_URL %}
|
||||
avatar
|
||||
{% else %}
|
||||
{{ scope.value }}
|
||||
{% endif %}
|
||||
</li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
|
||||
|
@ -82,7 +82,7 @@ def authorize():
|
||||
else:
|
||||
# after user logs in, redirect user back to this page
|
||||
return render_template(
|
||||
"oauth/authorize_nonlogin_user.html", client=client, next=request.url
|
||||
"oauth/authorize_nonlogin_user.html", client=client, next=request.url, Scope=Scope,
|
||||
)
|
||||
else: # user allows or denies
|
||||
gen_new_email = request.form.get("gen-email") == "on"
|
||||
|
Loading…
Reference in New Issue
Block a user