Skip to content

Commit

Permalink
Merge pull request #188 from olleolleolle/avoid-warning-in-base-strategy
Browse files Browse the repository at this point in the history
Avoid warning on uninitialized instance variable
  • Loading branch information
jsmestad committed Aug 17, 2020
2 parents 279bf07 + 15e673a commit d5d838a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/warden/strategies/base.rb
Expand Up @@ -45,6 +45,7 @@ def initialize(env, scope=nil) # :nodoc:
@env, @scope = env, scope
@status, @headers = nil, {}
@halted, @performed = false, false
@result = nil
end

# The method that is called from above. This method calls the underlying authenticate! method
Expand Down

0 comments on commit d5d838a

Please sign in to comment.