display avatar instead of avatar_url

This commit is contained in:
Son NK 2019-07-11 19:35:24 +02:00 committed by Son NK
parent 2e5298ec84
commit ca2605999c
1 changed files with 1 additions and 1 deletions

View File

@ -23,7 +23,7 @@
{% for scope in client.get_scopes() %}
<div>
{% if scope == Scope.AVATAR_URL and user_info[scope.value] %}
{{ scope.value }}: <img src="{{ user_info[scope.value] }}" class="avatar">
avatar: <img src="{{ user_info[scope.value] }}" class="avatar">
{% elif scope == Scope.EMAIL %}
{{ scope.value }}:
<a href="mailto:{{ user_info[scope.value] }}">