Skip to content
This repository has been archived by the owner on Jul 31, 2019. It is now read-only.

Commit

Permalink
Merge pull request #65 from Pomax/ssofix
Browse files Browse the repository at this point in the history
Ssofix
  • Loading branch information
Pomax committed May 17, 2013
2 parents f2be66b + c7a8d06 commit 102f6c7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app.js
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ persona(app, {
res.json({status: "okay", email: email});
}
});
app.post( "/user/:userid", function( req, res ) {
app.get( "/user/:userid", function( req, res ) {
loginAPI.getUser(req.session.email, function(err, user) {
if(err || !user) {
return res.json({
Expand All @@ -190,7 +190,7 @@ app.post( "/user/:userid", function( req, res ) {
req.session.webmakerid = user.subdomain;
res.json({
status: "okay",
subdomain: user.subdomain
user: user
});
});
});
Expand Down

0 comments on commit 102f6c7

Please sign in to comment.