Tweak the IndieAuth log

This commit is contained in:
Thomas Sileo
2019-05-08 13:19:31 +02:00
parent 713eb6acac
commit 1d0d5fa8b1
2 changed files with 22 additions and 2 deletions

View File

@@ -9,8 +9,9 @@
<ul style="list-style-type:none;padding:0;">
{% for action in indieauth_actions %}
<li style="margin-bottom:15px;"><span class="lcolor">{{action.ts|format_ts}}</span>
<strong>{% if action.verified_by == "login" %}Authorization{% else %}Token{% endif %}</strong>
requested by <a style="font-weight:bold" href="{{ action.client_id }}">{{ action.client_id }}</a>
<strong>{% if action.verified_by == "login" %}Authentication {% else %}Authorization {% endif %}</strong>
request by <a style="font-weight:bold" href="{{ action.client_id }}">{{ action.client_id }}</a>
/ {{action.ip_address}} {% if action.geoip %}({{action.geoip}}){% endif %}
as <a style="font-weight:bold;" href="{{action.me}}">{{action.me}}</a>
({% if action.scope %}scope=<code>{{action.scope}}</code>,{% endif %}redirect_uri={{action.redirect_uri}}).
{% if action.token_expires %}