Handle oauth2 errors
This commit is contained in:
1 parent
93d7382a46
commit
9328183ce4
3 files changed
+79
-5
No files matched your search
@@ -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">
|
||||
|
||||
Reference in new issue
Block a user