mirror of
https://github.com/discourse/discourse.git
synced 2024-11-23 08:09:33 +08:00
array is not supported here, use a simple comma delimited list
This commit is contained in:
parent
71d0035a7e
commit
5925a581db
|
@ -52,7 +52,7 @@ class SessionController < ApplicationController
|
|||
sso.external_id = current_user.id.to_s
|
||||
sso.admin = current_user.admin?
|
||||
sso.moderator = current_user.moderator?
|
||||
sso.groups = current_user.groups.pluck(:name)
|
||||
sso.groups = current_user.groups.pluck(:name).join(",")
|
||||
|
||||
if sso.return_sso_url.blank?
|
||||
render plain: "return_sso_url is blank, it must be provided", status: 400
|
||||
|
|
Loading…
Reference in New Issue
Block a user