From 10f3a98cba96b18d1bc2f3cbbc888af6201ae15e Mon Sep 17 00:00:00 2001 From: William Brawner Date: Fri, 14 Feb 2020 20:46:13 -0700 Subject: [PATCH] Remove CORS --- .../kotlin/com/wbrawner/budgetserver/config/SecurityConfig.kt | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/main/kotlin/com/wbrawner/budgetserver/config/SecurityConfig.kt b/src/main/kotlin/com/wbrawner/budgetserver/config/SecurityConfig.kt index e5272b2..cd949ac 100644 --- a/src/main/kotlin/com/wbrawner/budgetserver/config/SecurityConfig.kt +++ b/src/main/kotlin/com/wbrawner/budgetserver/config/SecurityConfig.kt @@ -2,7 +2,6 @@ package com.wbrawner.budgetserver.config import com.wbrawner.budgetserver.passwordresetrequest.PasswordResetRequestRepository import com.wbrawner.budgetserver.user.UserRepository -import org.springframework.beans.factory.annotation.Autowired import org.springframework.context.annotation.Bean import org.springframework.context.annotation.Configuration import org.springframework.core.env.Environment @@ -61,8 +60,6 @@ open class SecurityConfig( .and() .httpBasic() .and() - .cors() - .and() .csrf() .disable() }