diff --git a/src/common/sciserver-auth.js b/src/common/sciserver-auth.js index 5d79e0829..edbfd126e 100644 --- a/src/common/sciserver-auth.js +++ b/src/common/sciserver-auth.js @@ -51,7 +51,7 @@ tokens[username] = tokens[username] || {}; if (!tokens[username][password]) { tokens[username][password] = fetchNewToken(username, password); - setTimeout(clearToken.bind(username, password), 23*hours); + setTimeout(clearToken.bind(null, username, password), 23*hours); } return tokens[username][password]; }