Added back in force default login url

Signed-off-by: Andrew DeMaria <lostonamountain@gmail.com>
master
Andrew DeMaria 8 years ago
parent edc734dc43
commit 6427b0ce59
No known key found for this signature in database
GPG Key ID: 0A3F5E91F8364EDF
  1. 2
      libresonic-main/src/main/java/org/libresonic/player/security/WebSecurityConfig.java

@ -83,7 +83,7 @@ public class WebSecurityConfig extends WebSecurityConfigurerAdapter {
.and().formLogin() .and().formLogin()
.loginPage("/login") .loginPage("/login")
.permitAll() .permitAll()
.defaultSuccessUrl("/index.view") .defaultSuccessUrl("/index.view", true)
.failureUrl("/login?error=1") .failureUrl("/login?error=1")
.usernameParameter("j_username") .usernameParameter("j_username")
.passwordParameter("j_password") .passwordParameter("j_password")

Loading…
Cancel
Save