From fb750af659895f8cfa0c7c33e98d06b90bdf1851 Mon Sep 17 00:00:00 2001 From: Arpit Jalan Date: Thu, 30 Oct 2014 15:30:44 +0530 Subject: [PATCH] trivial update to allow api endpoint for sync_sso --- app/controllers/admin/users_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controllers/admin/users_controller.rb b/app/controllers/admin/users_controller.rb index ac6e50afadc..d50c897ec1b 100644 --- a/app/controllers/admin/users_controller.rb +++ b/app/controllers/admin/users_controller.rb @@ -264,7 +264,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)