aboutsummaryrefslogtreecommitdiff
path: root/views/reset_password.hbs
diff options
context:
space:
mode:
Diffstat (limited to 'views/reset_password.hbs')
-rw-r--r--views/reset_password.hbs12
1 files changed, 4 insertions, 8 deletions
diff --git a/views/reset_password.hbs b/views/reset_password.hbs
index 754c65d..5526123 100644
--- a/views/reset_password.hbs
+++ b/views/reset_password.hbs
@@ -5,16 +5,12 @@
{{# if success }}
<section class="alert alert-success">
<!-- Change those to banners later -->
- <h2>Signup Successful!</h2>
+ <h4>{{success}}</h4>
</section>
{{ else }}
{{# if errors }}
<section class="alert alert-danger">
- <ul>
- {{# each errors }}
- <li>{{ this.msg }}</li>
- {{/each}}
- </ul>
+ <h4>{{errors}}</h4>
</section>
{{/if}}
{{/if}}
@@ -25,13 +21,13 @@
{{/if}}
<h3 class="signin"><hr><i class="fa fa-unlock-alt" aria-hidden="true"></i> Reset Password<hr></h3>
- <form action="/user/" method="post">
+ <form action="/user/sendReset" method="post">
<div class="form-group reset-group">
<div class="input-group input-group-lg">
<div class="input-group-addon addon-email-reset">
<i class="fa fa-at" aria-hidden="true"></i>
</div>
- <input type="text" class="form-control input-email-reset" placeholder="email" name="email-reset" required>
+ <input type="text" class="form-control input-email-reset" placeholder="email" name="email" required>
</div>
</div>
<input type="hidden" name="_csrf" value="{{ csrfToken }}">