2017-07-07 18:18:03 -07:00
|
|
|
{% extends "layout.html" %}
|
|
|
|
{% block body %}
|
|
|
|
<div class="well">
|
2021-10-06 12:46:09 -07:00
|
|
|
<input type="hidden" name="csrf_token" value="{{ csrf_token() }}">
|
2020-02-02 19:22:00 -08:00
|
|
|
<h2 style="margin-top: 0">{{_('Magic Link - Authorise New Device')}}</h2>
|
2017-07-07 18:18:03 -07:00
|
|
|
<p>
|
2020-02-02 19:22:00 -08:00
|
|
|
{{_('On another device, login and visit:')}}
|
2021-10-06 12:46:09 -07:00
|
|
|
<h4><a id="verify_url" data-token="{{token}}" href="{{verify_url}}">{{verify_url}}</a><b></b>
|
2020-02-02 19:22:00 -08:00
|
|
|
</h4>
|
2017-07-07 18:18:03 -07:00
|
|
|
<p>
|
2020-02-02 19:22:00 -08:00
|
|
|
{{_('Once verified, you will automatically be logged in on this device.')}}
|
2017-07-07 18:18:03 -07:00
|
|
|
</p>
|
|
|
|
<p>
|
2020-02-02 19:22:00 -08:00
|
|
|
{{_('This verification link will expire in 10 minutes.')}}
|
2017-07-07 18:18:03 -07:00
|
|
|
</p>
|
|
|
|
</div>
|
|
|
|
{% endblock %}
|
|
|
|
|
|
|
|
{% block js %}
|
2021-10-03 00:58:10 -07:00
|
|
|
<script src="{{ url_for('static', filename='js/remote_login.js') }}"></script>
|
2017-07-07 18:18:03 -07:00
|
|
|
{% endblock %}
|