Fix remember me

Signed-off-by: Andrew DeMaria <lostonamountain@gmail.com>
master
Andrew DeMaria 8 years ago committed by Andrew DeMaria
parent 7c5d8088dc
commit 5023ba5875
  1. 1
      libresonic-main/src/main/webapp/WEB-INF/applicationContext-security.xml
  2. 4
      libresonic-main/src/main/webapp/WEB-INF/jsp/login.jsp

@ -60,6 +60,7 @@
default-target-url="/index.view" default-target-url="/index.view"
authentication-failure-url="/login.view?error=1" authentication-failure-url="/login.view?error=1"
always-use-default-target="true"/> always-use-default-target="true"/>
<security:remember-me user-service-ref="securityService" />
</security:http> </security:http>
<security:authentication-manager> <security:authentication-manager>

@ -35,6 +35,10 @@
<tr> <tr>
<td align="left"><input name="submit" type="submit" value="<fmt:message key="login.login"/>" tabindex="4"></td> <td align="left"><input name="submit" type="submit" value="<fmt:message key="login.login"/>" tabindex="4"></td>
<td align="left" class="detail">
<input type="checkbox" name="_spring_security_remember_me" id="remember" class="checkbox" tabindex="3">
<label for="remember"><fmt:message key="login.remember"/></label>
</td>
</tr> </tr>
<tr> <tr>
<td></td> <td></td>

Loading…
Cancel
Save