use relative path in login screen

This commit is contained in:
Richard Ebbers 2015-07-01 20:03:43 +02:00
parent f15932b2ac
commit 074295df61
3 changed files with 8 additions and 8 deletions

View File

@ -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 %}

View File

@ -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 -->

View File

@ -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 %}