aboutsummaryrefslogtreecommitdiff
path: root/templates/identity/login.html
blob: 79b19f6cccf656563febe65f026707e2a8995ac6 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
<html lang="en">
{% if user_code or reset_password_url %}
<head>
	<meta charset="UTF-8">
	<title>Sign In</title>
</head>
<body>
	<h1>Sign In</h1>

	{% if user_code %}
	<ol>
		<li>To sign in, type <b>{{ user_code }}</b> into
			<a href='{{ auth_uri }}' target=_blank>{{ auth_uri }}</a>
			to authenticate.
		</li>
		<li>And then <a href="{{ auth_response_url }}">proceed</a>.</li>
	</ol>
	{% else %}
	<ul><li><a href='{{ auth_uri }}'>Sign In</a></li></ul>
	{% endif %}

	{% if reset_password_url %}
	<hr>
	<a href='{{ reset_password_url }}'>Reset Password</a>
	{% endif %}
</body>
{% else %}
<!-- This shortcut reduces the need to customize this template -->
<head>
	<meta http-equiv='refresh' content='0; URL={{ auth_uri }}'>
</head>
{% endif %}
</html>