diff --git a/app/src/main/assets/about.properties b/app/src/main/assets/about.properties index 70eac8aef7..1c902ed440 100644 --- a/app/src/main/assets/about.properties +++ b/app/src/main/assets/about.properties @@ -1,6 +1,6 @@ about.version=2.0.0-rc.5 about.build=3067 -about.date=Thu Dec 13 17:42:10 2018 +about.date=Thu Dec 13 20:17:23 2018 about.commit= about.commitFull= about.github=https://github.com/flyve-mdm/flyve-mdm-android-agent diff --git a/app/src/mqtt/java/org/flyve/mdm/agent/core/enrollment/EnrollmentHelper.java b/app/src/mqtt/java/org/flyve/mdm/agent/core/enrollment/EnrollmentHelper.java index aa40e0a553..cb2323637b 100644 --- a/app/src/mqtt/java/org/flyve/mdm/agent/core/enrollment/EnrollmentHelper.java +++ b/app/src/mqtt/java/org/flyve/mdm/agent/core/enrollment/EnrollmentHelper.java @@ -180,7 +180,7 @@ public void run() try { // STEP 1 get session token - data = getSyncWebData(routes.initSession(cache.getApiToken()), "GET", header); + data = getSyncWebData(routes.initSession(cache.getUserToken()), "GET", header); final String errorMessage = manageError(data); if(!errorMessage.equals("")) {