mirror of
https://github.com/spring-projects/spring-boot.git
synced 2026-09-23 01:39:02 +00:00
Adapt to Spring Security change
This commit is contained in:
+1
-1
@@ -49,7 +49,7 @@ class OAuth2WebSecurityConfiguration {
|
||||
@Override
|
||||
protected void configure(HttpSecurity http) throws Exception {
|
||||
http.authorizeRequests().anyRequest().authenticated().and().oauth2Login()
|
||||
.clients(this.clientRegistrationRepository);
|
||||
.clientRegistrationRepository(this.clientRegistrationRepository);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user