Ignore:
Timestamp:
02/04/23 00:39:48 (23 months ago)
Author:
DenicaKj <dkorvezir@…>
Branches:
master
Children:
2269653
Parents:
ac25203
Message:

Fixing errors

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/main/java/com/example/moviezone/config/WebSecurityConfig.java

    rac25203 reb226b2  
    3030        http.csrf().disable()
    3131                .authorizeRequests()
    32                 .antMatchers("/", "/home", "/assets/**", "/register", "/products", "/api/**").permitAll()
     32                .antMatchers("/", "/home", "/assets/**", "/register", "/api/**").permitAll()
    3333                .antMatchers("/admin/**").hasRole("ADMIN")
    3434                .anyRequest()
     
    4242                .logout()
    4343                .logoutUrl("/logout")
    44                 .clearAuthentication(true)
    4544                .invalidateHttpSession(true)
    4645                .deleteCookies("JSESSIONID")
Note: See TracChangeset for help on using the changeset viewer.