Skip to content

Commit

Permalink
chore: fix various warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
stakach committed May 15, 2024
1 parent 24b4f89 commit 4ad342f
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 1 deletion.
1 change: 1 addition & 0 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ gem "redis"
gem "doorkeeper", "~> 5.6"
gem "doorkeeper-jwt"
gem "jwt"
gem "nkf" # required for omniauth-oauth2 in Ruby 3.4
gem "omniauth", "~> 1.9"
gem "omniauth-ldap2"
gem "omniauth-oauth2"
Expand Down
2 changes: 2 additions & 0 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -168,6 +168,7 @@ GEM
net-smtp (0.5.0)
net-protocol
nio4r (2.7.3)
nkf (0.2.0)
nokogiri (1.16.5)
mini_portile2 (~> 2.8.2)
racc (~> 1.4)
Expand Down Expand Up @@ -527,6 +528,7 @@ DEPENDENCIES
net-imap
net-pop
net-smtp
nkf
omniauth (~> 1.9)
omniauth-ldap2
omniauth-oauth2
Expand Down
2 changes: 1 addition & 1 deletion app/helpers/current_authority_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ def current_authority
@current_authority ||= Authority.find_by_domain(request.host)
end

SECRET = Rails.application.secrets.secret_key_base
SECRET = Rails.application.secret_key_base

def configure_asset_access
session_valid = 19.years
Expand Down

0 comments on commit 4ad342f

Please sign in to comment.