Projekt

Obecné

Profil

« Předchozí | Další » 

Revize 5fd5bca1

Přidáno uživatelem Jakub Danek před více než 5 roky(ů)

re #37 disable csrf (for now, needs to be revised later whether needed or not)

Zobrazit rozdíly:

server/src/main/java/org/danekja/ymanager/WebSecurityConfiguration.java
22 22
    protected void configure(HttpSecurity http) throws Exception {
23 23
        http.cors()
24 24
                .and()
25
                .csrf().disable()
25 26
                .authorizeRequests()
26 27
                .anyRequest().authenticated()
27 28
                .and()

Také k dispozici: Unified diff