Fix bug on based URL generation

This commit is contained in:
Paulo Veiga 2018-09-15 01:25:14 -07:00
parent 936dae2209
commit 146e84d790
2 changed files with 3 additions and 3 deletions

View File

@ -21,7 +21,7 @@
<div class="row jumbotron" id="loginPanel">
<h1><spring:message code="SIGN_IN"/></h1>
<form action="<c:url value='/c/j_spring_security_check'/>" method="POST" class="form-horizontal"
<form action="/c/j_spring_security_check" method="POST" class="form-horizontal"
id="loginForm">
<div class="form-group">
<label class="col-md-3 control-label" for="email"><spring:message code="EMAIL"/>: </label>
@ -49,7 +49,7 @@
</div>
</div>
<div class="form-group" style="text-align: center">
<a href="<c:url value="/c/user/resetPassword"/>"><spring:message code="FORGOT_PASSWORD"/></a>
<a href="/c/user/resetPassword"><spring:message code="FORGOT_PASSWORD"/></a>
</div>
<div class="form-group">
<c:if test="${not empty param.login_error}">

View File

@ -23,7 +23,7 @@
<input type="submit" value="<spring:message code="SEND_ME_A_NEW_PASSWORD"/>" class="btn btn-primary"
data-loading-text="<spring:message code="SENDING"/>"/>
<input type="button" value="<spring:message code="CANCEL"/>" class="btn"
onclick="window.location='<c:url value="c/maps/"/>'"/>
onclick="window.location='/c/maps/'"/>
</form:form>
<div id="register">