summaryrefslogtreecommitdiffstats
path: root/afb-client/app/Frontend/pages/Home
diff options
context:
space:
mode:
authorFulup Ar Foll <fulup@iot.bzh>2015-12-17 00:47:38 +0100
committerFulup Ar Foll <fulup@iot.bzh>2015-12-17 00:47:38 +0100
commit5669aa501d13221bbbedb93b5358d3f8073310c7 (patch)
tree832f7ce58eaa4ade90f78533ee7703accbfd224c /afb-client/app/Frontend/pages/Home
parent98522d2a6ce7c7a709728872ed892970d0a1df7b (diff)
Cleanup
Diffstat (limited to 'afb-client/app/Frontend/pages/Home')
-rw-r--r--afb-client/app/Frontend/pages/Home/Home.html4
-rw-r--r--afb-client/app/Frontend/pages/Home/HomeModule.js2
2 files changed, 3 insertions, 3 deletions
diff --git a/afb-client/app/Frontend/pages/Home/Home.html b/afb-client/app/Frontend/pages/Home/Home.html
index 6eda66d..69c4dbe 100644
--- a/afb-client/app/Frontend/pages/Home/Home.html
+++ b/afb-client/app/Frontend/pages/Home/Home.html
@@ -11,8 +11,8 @@ animationIn: slideInRight
<img class="logo" src="images/logo/triskel_iot_bzhx250.png" alt="IoT.bzh Logo" style="height:150px;">
App Framework Binder Simple Client
</h3>
-
-<token-refresh></token-refresh>
+<!--
+<token-refresh></token-refresh>-->
<div class="button-box box-content ">
diff --git a/afb-client/app/Frontend/pages/Home/HomeModule.js b/afb-client/app/Frontend/pages/Home/HomeModule.js
index ba6c5ea..30e796e 100644
--- a/afb-client/app/Frontend/pages/Home/HomeModule.js
+++ b/afb-client/app/Frontend/pages/Home/HomeModule.js
@@ -56,7 +56,7 @@ angular.module('HomeModule', ['SubmitButton', 'TokenRefresh'])
scope.OpenSession = function() {
console.log ("OpenSession");
var postdata= {/* any json your application may need */};
- var handler = $http.post(ConfigApp.api.token + 'create?token='+ConfigApp.session.token, postdata);
+ var handler = $http.post(ConfigApp.api.token + 'create?token='+ConfigApp.session.initial, postdata);
handler.success(scope.ProcessResponse);
handler.error(scope.ProcessError);