django-sqrl-2/sqrl/templates/sqrl/login.html

28 lines
733 B
HTML

{% extends "sqrl/sqrl_base.html" %}
{% load sqrl %}
{% block title %}Log in via SQRL{% endblock %}
{% block content %}
<h1>Log in</h1>
<p>
Please use via SQRL using the information below.
</p>
{% sqrl as sqrl_session %}
{% sqrl_login_dropin sqrl_session %}
{% endblock %}
{% comment %}
**sqrl/login.html**
This is SQRL-only login page.
No special variables are passed in the context for the login to work.
All necessary data should already be in the context.
Please note again that this template is for SQRL-exclusive logins.
If you would like to add SQRL login to an existing login page,
you should rather adjust that template as it is probably way more involved
to add that here.
{% endcomment %}