mirror of
https://github.com/discourse/discourse.git
synced 2024-11-27 19:30:23 -06:00
Merge pull request #2933 from techAPJ/patch-1
trivial update to allow api endpoint for sync_sso
This commit is contained in:
commit
59cc2476a1
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user