feat(password): added a password reset page (and unused form), corrected the validation of the password changer, modified styles
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
20
app/ui/templates/reset.html
Normal file
20
app/ui/templates/reset.html
Normal file
@@ -0,0 +1,20 @@
|
||||
{% extends 'base.html' %}
|
||||
|
||||
{% block title %}Password reset{% endblock %}
|
||||
|
||||
{% block main_block %}
|
||||
<div class="col-md-8">
|
||||
<div class="row col-md-auto">
|
||||
<h1>Password reset</h1>
|
||||
<hr>
|
||||
<div class="alert alert-danger">Sorry, password self-reset isn't available on my intranet for security reasons.<br>
|
||||
Just contact me and I'll send you a message containing a new password.
|
||||
</div>
|
||||
<a class="btn btn-outline-danger" href="/password/change">I just need to change it</a>
|
||||
</div>
|
||||
</div>
|
||||
{% endblock main_block %}
|
||||
|
||||
{% block script_block %}
|
||||
<script defer src="/static/js/validate.js"></script>
|
||||
{% endblock script_block %}
|
||||
Reference in New Issue
Block a user