Skip to content

Firefly III: a personal finances manager

use relative path in login screen

Richard Ebbersaa88ff6f2c99
diff --git a/resources/twig/auth/login.twig b/resources/twig/auth/login.twig
index 56afdcc0c4..2187f6c65d 100644
--- a/resources/twig/auth/login.twig
+++ b/resources/twig/auth/login.twig
@@ -18,7 +18,7 @@
<div class="login-box-body">
<p class="login-box-msg">Sign in to start your session</p>
- <form action="/auth/login" method="post">
+ <form action="auth/login" method="post">
<input type="hidden" name="_token" value="{{ csrf_token() }}"/>
<div class="form-group has-feedback">
@@ -45,7 +45,7 @@
{% if Config.get('auth.allow_register') %}
<a href="{{ route('register') }}" class="text-center">Register a new account</a><br>
{% endif %}
- <a href="/password/email">I forgot my password</a>
+ <a href="password/email">I forgot my password</a>
</div>
<!-- /.login-box-body -->
{% endblock %}
diff --git a/resources/twig/auth/password.twig b/resources/twig/auth/password.twig
index b7b8b43b0c..47ab0e2fa5 100644
--- a/resources/twig/auth/password.twig
+++ b/resources/twig/auth/password.twig
@@ -23,7 +23,7 @@
<div class="login-box-body">
<p class="login-box-msg">Reset your password</p>
- <form role="form" method="POST" action="/password/email">
+ <form role="form" method="POST" action="password/email">
<input type="hidden" name="_token" value="{{ csrf_token() }}"/>
<div class="form-group has-feedback">
@@ -40,8 +40,8 @@
</form>
- <a href="/auth/login">I want to login</a><br>
- <a href="/password/email">I forgot my password</a>
+ <a href="auth/login">I want to login</a><br>
+ <a href="password/email">I forgot my password</a>
</div><!-- /.login-box-body -->
diff --git a/resources/twig/auth/register.twig b/resources/twig/auth/register.twig
index 7b1ca9a6ae..07662f1a0f 100644
--- a/resources/twig/auth/register.twig
+++ b/resources/twig/auth/register.twig
@@ -18,7 +18,7 @@
<div class="register-box-body">
<p class="login-box-msg">Register a new account</p>
- <form role="form" id="register" method="POST" action="/auth/register">
+ <form role="form" id="register" method="POST" action="auth/register">
<input type="hidden" name="_token" value="{{ csrf_token() }}">
<div class="form-group has-feedback">
@@ -38,8 +38,8 @@
</div>
</form>
- <a href="/auth/login">I want to login</a><br>
- <a href="/password/email">I forgot my password</a>
+ <a href="auth/login">I want to login</a><br>
+ <a href="password/email">I forgot my password</a>
</div><!-- /.form-box -->
{% endblock %}