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.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()
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue