lib/jekyll_auth/auth_site.rb in jekyll-auth-1.0.3 vs lib/jekyll_auth/auth_site.rb in jekyll-auth-2.0.0
- old
+ new
@@ -31,10 +31,10 @@
when :team
github_team_authenticate! ENV['GITHUB_TEAM_ID']
when :teams
github_teams_authenticate! ENV['GITHUB_TEAM_IDS'].split(",")
when :org
- github_organization_authenticate! ENV['GITHUB_ORG_ID']
+ github_organization_authenticate! ENV['GITHUB_ORG_NAME']
else
raise JekyllAuth::ConfigError
end
end