From 11f00f52f0b38e33e295672cd1be9e65a456797d Mon Sep 17 00:00:00 2001 From: Denis Natusch Date: Thu, 16 Nov 2023 12:30:10 +0100 Subject: [PATCH] Remove AuthenticationManagement Closes #20 --- src/main/java/catering/users/UserDataInitializer.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/main/java/catering/users/UserDataInitializer.java b/src/main/java/catering/users/UserDataInitializer.java index a7cecf4..7afe462 100644 --- a/src/main/java/catering/users/UserDataInitializer.java +++ b/src/main/java/catering/users/UserDataInitializer.java @@ -1,7 +1,6 @@ package catering.users; import org.salespointframework.core.DataInitializer; -import org.salespointframework.useraccount.AuthenticationManagement; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.stereotype.Component; @@ -15,7 +14,7 @@ class UserDataInitializer implements DataInitializer { private static final Logger LOG = LoggerFactory.getLogger(UserDataInitializer.class); private final UserManagement userManagement; - UserDataInitializer(UserManagement userManagement, AuthenticationManagement auth) { + UserDataInitializer(UserManagement userManagement) { Assert.notNull(userManagement, "UserRepository must not be null!"); this.userManagement = userManagement; }