aboutsummaryrefslogtreecommitdiff
path: root/src/main/java
diff options
context:
space:
mode:
authorAnton Tananaev <anton@traccar.org>2022-06-11 15:50:37 -0700
committerAnton Tananaev <anton@traccar.org>2022-06-11 15:50:37 -0700
commit9c9e62bdba68a1f1d29cd5082ffd47eb1f46dab9 (patch)
tree67068fefd99462b8a4332fe9f3ce5bb5ebe3c1b7 /src/main/java
parent8e544be128f7713fecfe91ff08f16044c64bf238 (diff)
downloadtrackermap-server-9c9e62bdba68a1f1d29cd5082ffd47eb1f46dab9.tar.gz
trackermap-server-9c9e62bdba68a1f1d29cd5082ffd47eb1f46dab9.tar.bz2
trackermap-server-9c9e62bdba68a1f1d29cd5082ffd47eb1f46dab9.zip
Fix injection
Diffstat (limited to 'src/main/java')
-rw-r--r--src/main/java/org/traccar/MainModule.java5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/main/java/org/traccar/MainModule.java b/src/main/java/org/traccar/MainModule.java
index 2c88dbc13..ed54853ed 100644
--- a/src/main/java/org/traccar/MainModule.java
+++ b/src/main/java/org/traccar/MainModule.java
@@ -118,6 +118,11 @@ public class MainModule extends AbstractModule {
}
@Provides
+ public static UsersManager provideUsersManager() {
+ return Context.getUsersManager();
+ }
+
+ @Provides
public static IdentityManager provideIdentityManager() {
return Context.getIdentityManager();
}