Skip to content

Commit

Permalink
Remove useless bean registration for plugin
Browse files Browse the repository at this point in the history
Signed-off-by: JohnNiang <[email protected]>
  • Loading branch information
JohnNiang committed Sep 29, 2024
1 parent 2edb28c commit 49c4fce
Showing 1 changed file with 0 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -81,10 +81,6 @@ public static ApplicationContext create(ApplicationContext rootContext) {
.ifUnique(rateLimiterRegistry ->
beanFactory.registerSingleton("rateLimiterRegistry", rateLimiterRegistry)
);
rootContext.getBeanProvider(ReactiveUserDetailsService.class)
.ifUnique(userDetailsService ->
beanFactory.registerSingleton("userDetailsService", userDetailsService)
);
// TODO add more shared instance here

sharedContext.refresh();
Expand Down

0 comments on commit 49c4fce

Please sign in to comment.