Remove CORS

This commit is contained in:
William Brawner 2020-02-14 20:46:13 -07:00
parent a0f854f298
commit 10f3a98cba

View file

@ -2,7 +2,6 @@ package com.wbrawner.budgetserver.config
import com.wbrawner.budgetserver.passwordresetrequest.PasswordResetRequestRepository import com.wbrawner.budgetserver.passwordresetrequest.PasswordResetRequestRepository
import com.wbrawner.budgetserver.user.UserRepository import com.wbrawner.budgetserver.user.UserRepository
import org.springframework.beans.factory.annotation.Autowired
import org.springframework.context.annotation.Bean import org.springframework.context.annotation.Bean
import org.springframework.context.annotation.Configuration import org.springframework.context.annotation.Configuration
import org.springframework.core.env.Environment import org.springframework.core.env.Environment
@ -61,8 +60,6 @@ open class SecurityConfig(
.and() .and()
.httpBasic() .httpBasic()
.and() .and()
.cors()
.and()
.csrf() .csrf()
.disable() .disable()
} }