Skip to content

Commit eb2c378

Browse files
author
Travis Tomsu
authored
Silly csrf (#26)
1 parent d252a00 commit eb2c378

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

fiat-api/src/main/java/com/netflix/spinnaker/config/FiatAuthenticationConfig.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ AnonymousConfig anonymousConfig() {
9191
private class AnonymousConfig extends WebSecurityConfigurerAdapter {
9292
@Override
9393
protected void configure(HttpSecurity http) throws Exception {
94-
http.authorizeRequests().anyRequest().permitAll();
94+
http.authorizeRequests().anyRequest().permitAll().and().csrf().disable();
9595
}
9696
}
9797
}

0 commit comments

Comments
 (0)