Merge pull request #2933 from techAPJ/patch-1

trivial update to allow api endpoint for sync_sso
This commit is contained in:
Sam 2014-10-30 21:39:54 +11:00
commit 59cc2476a1

View File

@ -263,7 +263,7 @@ class Admin::UsersController < Admin::AdminController
return
end
sso = DiscourseSingleSignOn.parse(request.query_string)
sso = DiscourseSingleSignOn.parse("sso=#{params[:sso]}&sig=#{params[:sig]}")
user = sso.lookup_or_create_user
render_serialized(user, AdminDetailedUserSerializer, root: false)