edx-solutions/edx-platform — pull request #291 by mattdrayer (2014-10-29 20:38:58+00:00)
Title: mattdrayer/api-session-check-existing: Skip login if already logged in

@chrisndodge @martynjames -- updated the POST /sessions workflow to skip the login() routine if the user is already logged in -- had to move some code around and added some helper functions along the way. Let me know what you think.

@fredsmith, FYI on this change -- we'll need to figure out how to work it into the deployment stream -- if we set up a release candidate branch we could cherry-pick the commit into it -- or I suppose we could close this PR and resubmit to the RC, then merge back to master -- however we want to manage the code is fine w/ me