mirror of
https://github.com/st-tu-dresden-praktikum/swt23w23
synced 2024-07-19 21:04:36 +02:00
parent
0f4b174460
commit
11f00f52f0
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue