Skip to content

Commit

Permalink
#95
Browse files Browse the repository at this point in the history
updated security config
  • Loading branch information
vanessapinto257 committed Apr 25, 2019
1 parent 48bc88e commit 4c760d8
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ public class WebSecurityConfig extends WebSecurityConfigurerAdapter {
protected void configure(HttpSecurity http) throws Exception {
http
.authorizeRequests()
.antMatchers("/", "/api/users", "/api/register", "/api/login", "/api/getAllGarages","/api/dashboard").permitAll()
.antMatchers("/", "/api/users", "/api/register", "/api/googlelogin","/api/login", "/api/getAllGarages","/api/dashboard").permitAll()
.anyRequest().authenticated()
.and()
.formLogin()
Expand Down

0 comments on commit 4c760d8

Please sign in to comment.