mirror of
https://github.com/codeninjasllc/discourse.git
synced 2025-04-24 21:13:54 -04:00
trivial update to allow api endpoint for sync_sso
This commit is contained in:
parent
5729e7df6f
commit
fb750af659
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue