Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
icyleaf committed Sep 18, 2024
1 parent 8781f97 commit 2a4b0a6
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions config/initializers/devise.rb
Original file line number Diff line number Diff line change
@@ -1,9 +1,5 @@
# frozen_string_literal: true

Dir.glob(Rails.root.join('lib/omni_auth/strategies/**/*.rb')).each do |filename|
require_dependency filename
end

FEISHU_OMNIAUTH_SETUP = lambda do |env|
env['omniauth.strategy'].options[:client_id] = Setting.feishu[:app_id]
env['omniauth.strategy'].options[:client_secret] = Setting.feishu[:app_secret]
Expand Down

0 comments on commit 2a4b0a6

Please sign in to comment.