diff options
| author | 2026-07-03 15:49:08 +0200 | |
|---|---|---|
| committer | 2026-07-03 15:49:14 +0200 | |
| commit | 7784c60c03ec277b456db6e2709383e302d9382b (patch) | |
| tree | a008def666f04041fe77740693d42cfef89af558 /authentication/templates/login.html | |
| parent | fb28c648390464c75ba4903b0e1e0ff2642c8ffb (diff) | |
| download | server-7784c60c03ec277b456db6e2709383e302d9382b.tar.gz server-7784c60c03ec277b456db6e2709383e302d9382b.tar.bz2 server-7784c60c03ec277b456db6e2709383e302d9382b.zip | |
Added basic oauth flow
Diffstat (limited to 'authentication/templates/login.html')
| -rw-r--r-- | authentication/templates/login.html | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/authentication/templates/login.html b/authentication/templates/login.html new file mode 100644 index 0000000..fcba5cd --- /dev/null +++ b/authentication/templates/login.html | |||
| @@ -0,0 +1,18 @@ | |||
| 1 | {% extends "./base.html" %} | ||
| 2 | |||
| 3 | {% block content %} | ||
| 4 | <form method="post"> | ||
| 5 | |||
| 6 | <input type="email" name="username" {% if form %}value="{{ form.username }}"{% endif %} placeholder="username" /> | ||
| 7 | {% if errors and errors.username %} | ||
| 8 | {{ errors.username }} | ||
| 9 | {% endif %} | ||
| 10 | |||
| 11 | |||
| 12 | <input type="password" name="password" /> | ||
| 13 | {% if errors and errors.password%} | ||
| 14 | {{ errors.password }} | ||
| 15 | {% endif %} | ||
| 16 | <button type="submit">Login</button> | ||
| 17 | </form> | ||
| 18 | {% endblock %} | ||
