| Index: remoting/webapp/app_remoting/js/feedback_consent.js
|
| diff --git a/remoting/webapp/app_remoting/js/feedback_consent.js b/remoting/webapp/app_remoting/js/feedback_consent.js
|
| index 7bc7d3d9a199940088328271d14a29e1e2e9cec3..6691ed207f698f66c807b423eacebe987bcfae7a 100644
|
| --- a/remoting/webapp/app_remoting/js/feedback_consent.js
|
| +++ b/remoting/webapp/app_remoting/js/feedback_consent.js
|
| @@ -111,7 +111,8 @@ function generateId() {
|
| */
|
| function onToken(token) {
|
| var getUserInfo = function() {
|
| - remoting.OAuth2Api.getUserInfo(
|
| + var oauth2Api = new remoting.OAuth2ApiImpl();
|
| + oauth2Api.getUserInfo(
|
| onUserInfo, onUserInfo.bind(null, 'unknown', 'unknown'), token);
|
| };
|
| if (!token) {
|
|
|