Fix login redirect not working occasionally
This forces the loading of the index page during login as was done prior in acegi security. It is a necessary crutch for now because libresonic doesn't retain a good targetUrl at all times. Signed-off-by: Andrew DeMaria <lostonamountain@gmail.com>
This commit is contained in:
@@ -56,7 +56,10 @@
|
||||
|
||||
<!-- ROLE_USER -->
|
||||
<security:intercept-url pattern="/**" access="ROLE_USER" />
|
||||
<security:form-login login-page="/login.view" default-target-url="/home.view" authentication-failure-url="/login.view?error=1"/>
|
||||
<security:form-login login-page="/login.view"
|
||||
default-target-url="/index.view"
|
||||
authentication-failure-url="/login.view?error=1"
|
||||
always-use-default-target="true"/>
|
||||
</security:http>
|
||||
|
||||
<security:authentication-manager>
|
||||
|
||||
Reference in New Issue
Block a user