Remove CORS
This commit is contained in:
parent
a0f854f298
commit
10f3a98cba
1 changed files with 0 additions and 3 deletions
|
@ -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()
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue