Skip to content

Commit

Permalink
fix annoying session-expired issue
Browse files Browse the repository at this point in the history
  • Loading branch information
cbellone committed Nov 11, 2014
1 parent be150d3 commit 49e4274
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/io/bagarino/config/WebSecurityConfig.java
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ public CsrfTokenRepository getCsrfTokenRepository() {
@Override
protected void configure(HttpSecurity http) throws Exception {
http.sessionManagement()
.invalidSessionUrl("/session-expired")
//.invalidSessionUrl("/session-expired")
.and()
.csrf()
.csrfTokenRepository(getCsrfTokenRepository())
Expand Down

0 comments on commit 49e4274

Please sign in to comment.