mirror of https://git.sr.ht/~sircmpwn/fosspay
parent
7fcbac2e83
commit
da0dd066d3
@ -0,0 +1,13 @@ |
|||||||
|
Someone, probably you, wants to reset your donor password. |
||||||
|
|
||||||
|
To proceed, click this link: |
||||||
|
|
||||||
|
{{root}}/password-reset/{{user.password_reset}} |
||||||
|
|
||||||
|
This link expires in 24 hours. If you don't want to change your password or you |
||||||
|
weren't expecting this email, just ignore it. |
||||||
|
|
||||||
|
If you have questions, send an email to {{your_email}}. |
||||||
|
|
||||||
|
-- |
||||||
|
{{your_name}} |
@ -0,0 +1,43 @@ |
|||||||
|
{% extends "layout.html" %} |
||||||
|
{% block body %} |
||||||
|
<div class="well"> |
||||||
|
<div class="container"> |
||||||
|
<h1>Donate to {{ _cfg("your-name") }}</h1> |
||||||
|
</div> |
||||||
|
</div> |
||||||
|
<div class="container"> |
||||||
|
<div class="row"> |
||||||
|
<div class="col-md-6 col-md-offset-3"> |
||||||
|
<h1>Reset Password</h1> |
||||||
|
{% if errors %} |
||||||
|
<div class="alert alert-danger"> |
||||||
|
<p> |
||||||
|
{{ errors }} |
||||||
|
</p> |
||||||
|
</div> |
||||||
|
{% endif %} |
||||||
|
{% if done %} |
||||||
|
<p> |
||||||
|
An email should arrive shortly. If you need help, contact |
||||||
|
<a href="mailto:{{_cfg("your-email")}}">{{_cfg("your-email")}}</a>. |
||||||
|
</p> |
||||||
|
{% elif token %} |
||||||
|
<form action="{{root}}/password-reset" method="POST"> |
||||||
|
<div class="form-group"> |
||||||
|
<input class="form-control" type="password" name="password" placeholder="New password" /> |
||||||
|
<input type="hidden" name="token" value="{{ token }}" /> |
||||||
|
</div> |
||||||
|
<input type="submit" value="Submit" class="btn btn-primary" /> |
||||||
|
</form> |
||||||
|
{% else %} |
||||||
|
<form action="{{root}}/password-reset" method="POST"> |
||||||
|
<div class="form-group"> |
||||||
|
<input class="form-control" type="text" name="email" placeholder="your@email.com" /> |
||||||
|
</div> |
||||||
|
<input type="submit" value="Submit" class="btn btn-primary" /> |
||||||
|
</form> |
||||||
|
{% endif %} |
||||||
|
</div> |
||||||
|
</div> |
||||||
|
</div> |
||||||
|
{% endblock %} |
Loading…
Reference in new issue