mirror of
https://github.com/Jackzmc/storage.git
synced 2025-05-10 08:13:21 +00:00
Add 404 and 401 check
This commit is contained in:
parent
a43dae2092
commit
14afb3dcee
5 changed files with 70 additions and 10 deletions
|
@ -4,8 +4,7 @@
|
|||
<h1 class="title is-1 has-text-centered">storage-app</h1>
|
||||
<div class="box is-radiusless">
|
||||
<h4 class="title is-4 has-text-centered">Login</h4>
|
||||
{{debug this}}
|
||||
{{#if (len form.form_errors) includeZero=true }}
|
||||
{{#unless (eq (len form.form_errors) 0) }}
|
||||
<div class="notification is-danger is-light">
|
||||
<b>Login failed with errors:</b>
|
||||
<ul>
|
||||
|
@ -14,7 +13,7 @@
|
|||
{{/each}}
|
||||
</ul>
|
||||
</div>
|
||||
{{/if}}
|
||||
{{/unless}}
|
||||
<form method="post" action="/auth/login">
|
||||
<input type="hidden" name="_csrf" value="{{ csrf_token }}">
|
||||
<div class="field">
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue