Remove AuthenticationManagement

Closes #20
This commit is contained in:
Denis Natusch 2023-11-16 12:30:10 +01:00 committed by Simon Bruder
parent 0f4b174460
commit 11f00f52f0
Signed by: simon
GPG key ID: 8D3C82F9F309F8EC

View file

@ -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;
}