Different URL for password reset.

This commit is contained in:
James Cole 2016-01-19 18:14:15 +01:00
parent 37693ad08d
commit a313265785
5 changed files with 6 additions and 6 deletions

View File

@ -44,7 +44,7 @@
{% if Config.get('auth.allow_register') %} {% if Config.get('auth.allow_register') %}
<a href="{{ URL.to('/register') }}" class="text-center">Register a new account</a><br> <a href="{{ URL.to('/register') }}" class="text-center">Register a new account</a><br>
{% endif %} {% endif %}
<a href="{{ URL.to('/password/email') }}">I forgot my password</a> <a href="{{ URL.to('/password/reset') }}">I forgot my password</a>
</div> </div>
<!-- /.login-box-body --> <!-- /.login-box-body -->
{% endblock %} {% endblock %}

View File

@ -23,7 +23,7 @@
<div class="login-box-body"> <div class="login-box-body">
<p class="login-box-msg">Reset your password</p> <p class="login-box-msg">Reset your password</p>
<form role="form" method="POST" action="{{ URL.to('/password/email') }}"> <form role="form" method="POST" action="{{ URL.to('/password/reset') }}">
<input type="hidden" name="_token" value="{{ csrf_token() }}"/> <input type="hidden" name="_token" value="{{ csrf_token() }}"/>
<div class="form-group has-feedback"> <div class="form-group has-feedback">
@ -41,7 +41,7 @@
</form> </form>
<a href="{{ URL.to('/login') }}">I want to login</a><br> <a href="{{ URL.to('/login') }}">I want to login</a><br>
<a href="{{ URL.to('/password/email') }}">I forgot my password</a> <a href="{{ URL.to('/password/reset') }}">I forgot my password</a>
</div><!-- /.login-box-body --> </div><!-- /.login-box-body -->

View File

@ -47,7 +47,7 @@
</form> </form>
<a href="{{ URL.to('/login') }}">I want to login</a><br> <a href="{{ URL.to('/login') }}">I want to login</a><br>
<a href="{{ URL.to('/password/email') }}">I forgot my password</a> <a href="{{ URL.to('/password/reset') }}">I forgot my password</a>
</div><!-- /.form-box --> </div><!-- /.form-box -->
{% endblock %} {% endblock %}

View File

@ -19,7 +19,7 @@
<ul> <ul>
<li style="font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;font-size:13px;"> <li style="font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;font-size:13px;">
If you have forgotten your password already, please reset it using If you have forgotten your password already, please reset it using
<a style="color:#337ab7" href="{{ address }}/password/email">the password reset tool</a>. <a style="color:#337ab7" href="{{ address }}/password/reset">the password reset tool</a>.
</li> </li>
<li style="font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;font-size:13px;"> <li style="font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;font-size:13px;">
There is a help-icon in the top right corner of each page. If you need help, click it! There is a help-icon in the top right corner of each page. If you need help, click it!

View File

@ -12,7 +12,7 @@ Firefly III:
{{ address }} {{ address }}
Password reset: Password reset:
{{ address }}/password/email {{ address }}/password/reset
Documentation: Documentation:
https://github.com/JC5/firefly-iii/wiki/First-use https://github.com/JC5/firefly-iii/wiki/First-use