From 1873bef911786663a4d4e5e95fddb36dd3677ab0 Mon Sep 17 00:00:00 2001
From: Lloyd Hilaiel <lloyd@hilaiel.com>
Date: Wed, 18 Apr 2012 14:27:17 -0600
Subject: [PATCH] fix broken backwards compatibility of .get() and
 .getVerifiedEmail() - closes #1458

---
 resources/static/include_js/include.js | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/resources/static/include_js/include.js b/resources/static/include_js/include.js
index ccf7e540c..567529fa2 100644
--- a/resources/static/include_js/include.js
+++ b/resources/static/include_js/include.js
@@ -1136,14 +1136,15 @@
               callback(assertion);
               callback = null
             }
-          }
+          },
+          onlogout: function() {}
         });
         options.oncancel = function() {
           if (callback) {
             callback(null);
             callback = null;
           }
-          internalWatch({});
+          observers.login = observers.logout = observers.ready = null;
         };
         if (options && options.silent) {
           if (callback) setTimeout(function() { callback(null); }, 0);
-- 
GitLab