parent
98ca7bccca
commit
71d4daf6a6
1 changed files with 3 additions and 0 deletions
|
@ -2,6 +2,7 @@ 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
|
||||||
|
@ -64,6 +65,8 @@ open class SecurityConfig(
|
||||||
.and()
|
.and()
|
||||||
.httpBasic()
|
.httpBasic()
|
||||||
.and()
|
.and()
|
||||||
|
.cors()
|
||||||
|
.and()
|
||||||
.csrf()
|
.csrf()
|
||||||
.disable()
|
.disable()
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue