FIX: downcase developer emails do it matches internal email storage
This commit is contained in:
parent
8c3a0b44ba
commit
bd9bc7918c
|
@ -49,6 +49,6 @@ Discourse::Application.configure do
|
|||
require 'rbtrace'
|
||||
|
||||
if emails = GlobalSetting.developer_emails
|
||||
config.developer_emails = emails.split(",").map(&:strip)
|
||||
config.developer_emails = emails.split(",").map(&:downcase).map(&:strip)
|
||||
end
|
||||
end
|
||||
|
|
|
@ -60,7 +60,7 @@ Discourse::Application.configure do
|
|||
# developers have god like rights and may impersonate anyone in the system
|
||||
# normal admins may only impersonate other moderators (not admins)
|
||||
if emails = GlobalSetting.developer_emails
|
||||
config.developer_emails = emails.split(",").map(&:strip)
|
||||
config.developer_emails = emails.split(",").map(&:downcase).map(&:strip)
|
||||
end
|
||||
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue