Skip to content

Commit

Permalink
Use #_account_from_id method
Browse files Browse the repository at this point in the history
  • Loading branch information
janko committed Nov 25, 2024
1 parent 1287b83 commit e7bd7cf
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/rodauth/features/omniauth.rb
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,7 @@ def _account_from_omniauth
end

def _account_from_omniauth_identity
account_ds(omniauth_identity_account_id).first
_account_from_id(omniauth_identity_account_id)
end

def omniauth_identity_id
Expand Down
2 changes: 1 addition & 1 deletion rodauth-omniauth.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ Gem::Specification.new do |spec|
spec.files = Dir["README.md", "LICENSE.txt", "*.gemspec", "lib/**/*", "locales/**/*"]
spec.require_paths = ["lib"]

spec.add_dependency "rodauth", "~> 2.13"
spec.add_dependency "rodauth", "~> 2.36"
spec.add_dependency "omniauth", "~> 2.0"

spec.add_development_dependency "minitest"
Expand Down

0 comments on commit e7bd7cf

Please sign in to comment.