mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
DEV: Apply syntax_tree formatting to lib/*
This commit is contained in:
@@ -6,7 +6,13 @@ class GoogleOauth2HdGroupsValidator
|
||||
end
|
||||
|
||||
def valid_value?(value)
|
||||
@valid = value == "f" || (SiteSetting.google_oauth2_hd.present? && SiteSetting.google_oauth2_hd_groups_service_account_admin_email.present? && SiteSetting.google_oauth2_hd_groups_service_account_json.present?)
|
||||
@valid =
|
||||
value == "f" ||
|
||||
(
|
||||
SiteSetting.google_oauth2_hd.present? &&
|
||||
SiteSetting.google_oauth2_hd_groups_service_account_admin_email.present? &&
|
||||
SiteSetting.google_oauth2_hd_groups_service_account_json.present?
|
||||
)
|
||||
end
|
||||
|
||||
def error_message
|
||||
|
||||
Reference in New Issue
Block a user