Handle kobo auth request

Handle access from localhost for kobo
This commit is contained in:
Ozzieisaacs
2020-02-18 20:36:32 +01:00
parent ba6b5f8fd1
commit 6893635251
3 changed files with 59 additions and 26 deletions
+2 -2
View File
@@ -2,10 +2,10 @@
{% block body %}
<div class="well">
<p>
{{_('Open the .kobo/Kobo eReader.conf file in a text editor and add (or edit):')}}</a>.
{{_('Open the .kobo/Kobo eReader.conf file in a text editor and add (or edit):')}}</a>
</p>
<p>
{{_('api_endpoint=')}}{{kobo_auth_url}}</a>
{% if not warning %}{{_('api_endpoint=')}}{{kobo_auth_url}}{% else %}{{warning}}{% endif %}</a>
</p>
<p>
{{_('Please note that every visit to this current page invalidates any previously generated Authentication url for this user.')}}</a>