diff --git a/example/index.html b/example/index.html
index 3f50bea7a0de7c89f24147596eafbcbd6e074878..e94edecb80a53ce5d6de11d95e715683cd197158 100644
--- a/example/index.html
+++ b/example/index.html
@@ -124,7 +124,7 @@ navigator.id.get(function(assertion) {
         $("#oAssertion").text(assertion);
         checkAssertion(assertion);
       };
-    }, {persistent: true});
+    }, {allowPersistent: true});
   });
 
   $("#logout").click(function(event) {
diff --git a/resources/static/dialog/controllers/dialog_controller.js b/resources/static/dialog/controllers/dialog_controller.js
index c69e8a8e172ffbc1adc4105611b7eb4270fe57fc..de7991708e671d54b80906b3beb2fcb18118b4be 100644
--- a/resources/static/dialog/controllers/dialog_controller.js
+++ b/resources/static/dialog/controllers/dialog_controller.js
@@ -94,7 +94,7 @@
       getVerifiedEmail: function(origin_url, onsuccess, onerror) {
         return this.get(origin_url, {}, onsuccess, onerror);
       },
-    
+
       get: function(origin_url, params, onsuccess, onerror) {
         var self=this;
         self.onsuccess = onsuccess;
@@ -103,8 +103,8 @@
         if (typeof(params) == 'undefined') {
           params = {};
         }
-        
-        self.allowPersistent = (params.persistent == true);
+
+        self.allowPersistent = (params.allowPersistent == true);
 
         if('onLine' in navigator && !navigator.onLine) {
           self.doOffline();