2019-09-02 02:03:23 -05:00
|
|
|
{% extends "sqrl/sqrl_base.html" %}
|
|
|
|
{% load sqrl %}
|
|
|
|
{% load static %}
|
|
|
|
|
|
|
|
{% 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 session_sqrl %}
|
2019-09-02 09:42:24 -05:00
|
|
|
{% sqrl_login_dropin session_sqrl login %}
|
2019-09-02 02:03:23 -05:00
|
|
|
{% 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.
|
|
|
|
{% endcomment %}
|