aboutsummaryrefslogtreecommitdiff
path: root/src/org/traccar/api/resource/ServerResource.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/org/traccar/api/resource/ServerResource.java')
-rw-r--r--src/org/traccar/api/resource/ServerResource.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/org/traccar/api/resource/ServerResource.java b/src/org/traccar/api/resource/ServerResource.java
index fc04ee248..ffe6745f4 100644
--- a/src/org/traccar/api/resource/ServerResource.java
+++ b/src/org/traccar/api/resource/ServerResource.java
@@ -20,6 +20,7 @@ import org.traccar.api.BaseResource;
import org.traccar.model.Server;
import org.traccar.model.User;
+import javax.annotation.security.PermitAll;
import javax.servlet.http.HttpServletRequest;
import javax.ws.rs.Consumes;
import javax.ws.rs.FormParam;
@@ -37,6 +38,7 @@ import java.sql.SQLException;
@Consumes(MediaType.APPLICATION_JSON)
public class ServerResource extends BaseResource {
+ @PermitAll
@GET
public Server get() {
try {