diff --git a/src/main/kotlin/com/wbrawner/budgetserver/config/SecurityConfig.kt b/src/main/kotlin/com/wbrawner/budgetserver/config/SecurityConfig.kt index 0f23abc..4bf86f8 100644 --- a/src/main/kotlin/com/wbrawner/budgetserver/config/SecurityConfig.kt +++ b/src/main/kotlin/com/wbrawner/budgetserver/config/SecurityConfig.kt @@ -2,6 +2,7 @@ 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 @@ -64,6 +65,8 @@ open class SecurityConfig( .and() .httpBasic() .and() + .cors() + .and() .csrf() .disable() }