GRN2-138: Fixed issue with admin rake task (#521)

* Fixed issue with admin rake task

* rspec
This commit is contained in:
farhatahmad
2019-05-17 12:49:42 -04:00
committed by Jesus Federico
parent 4a4fcec6fb
commit c3ddb17514
5 changed files with 2 additions and 24 deletions

View File

@ -73,10 +73,4 @@ module BbbApi
def remove_slash(s)
s.nil? ? nil : s.chomp("/")
end
def launcher_allow_user_signup_whitelisted?(provider)
return false unless Rails.configuration.launcher_allow_user_signup
whitelist = Rails.configuration.launcher_allow_user_signup.split(',')
whitelist.include?(provider)
end
end