Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

fixing some typos

  • Loading branch information...
commit fd03bcfaadbb9b1d4a0ed6c9676482f5fb055a87 1 parent 6f1b2c3
@mauritslamers mauritslamers authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 OrionSocketListener.js
View
4 OrionSocketListener.js
@@ -205,9 +205,9 @@ global.OrionSocketListener = SC.Object.extend(process.EventEmitter.prototype, {
// check session
var sessionExists = sessionModule.checkSession(user,receivedSessionKey,sessionKeyOnly);
// if sessionExists for the sessionkey, set the session key of the client to the receivedSessionKey
- client.sessionKey = sessionExists? receivedSessionKey: sessionModule.ONR(authresult,sessionKeyOnly);
+ client.sessionKey = sessionExists? receivedSessionKey: sessionModule.createSession(authresult,sessionKeyOnly);
}
- else client.sessionKey = sessionModule.ONR(authresult,sessionKeyOnly);
+ else client.sessionKey = sessionModule.createSession(authresult,sessionKeyOnly);
// session key set
client.isAuthenticated = YES;
client.user = user; // set the user
Please sign in to comment.
Something went wrong with that request. Please try again.