Handle oauth2 errors
CI and release / Detect release commit (push) Successful in 31s
CI and release / Run tests (push) Successful in 4m37s
CI and release / Build and publish container (push) Successful in 7m25s
CI and release / Create release (push) Skipped

This commit is contained in:
Elias Wendland committed 2026-09-02 10:16:09 +02:00
1 parent 93d7382a46
commit 9328183ce4
3 files changed
+79 -5

No files matched your search

+11
View File
@@ -1,4 +1,15 @@
<h2>Log in</h2>
{% if let Some(error) = error %}
<div style="
background-color: #fee2e2;
color: #991b1b;
border: 1px solid #ef4444;
border-radius: 6px;
padding: 12px 16px;
margin: 12px 0;">
{{ error }}
</div>
{% endif %}
<p>It is required to log in with Discord to view the archive.</p>
<p>The login happens on the official Discord website. This site does not have access to your email or password.</p>
<form method="get" action="/login/discord">