Index: remoting/webapp/crd/js/identity.js |
diff --git a/remoting/webapp/crd/js/identity.js b/remoting/webapp/crd/js/identity.js |
index 28258168aad4a887bdd3ed35123cd7d54c4ac2b2..f17e9354f6a717d997489b25c769dbad709f9701 100644 |
--- a/remoting/webapp/crd/js/identity.js |
+++ b/remoting/webapp/crd/js/identity.js |
@@ -157,7 +157,7 @@ remoting.Identity.prototype.getUserInfo = function() { |
* address or rejected with a remoting.Error. |
*/ |
remoting.Identity.prototype.getEmail = function() { |
- this.getUserInfo().then(function(userInfo) { |
+ return this.getUserInfo().then(function(userInfo) { |
return userInfo.email; |
}); |
}; |