Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow Napa::Authentication to receive multiple and accept multiple passwords #190

Merged
merged 2 commits into from
Mar 9, 2015

Conversation

shaqq
Copy link
Contributor

@shaqq shaqq commented Mar 9, 2015

@bellycard/platform

@darbyfrey - more like what you were looking for?

password_hash['Password'] = ENV['HEADER_PASSWORD'] if ENV['HEADER_PASSWORD']
password_hash['Passwords'] = ENV['SENT_HEADER_PASSWORDS'] if ENV['SENT_HEADER_PASSWORDS']
raise 'header_password_not_configured' if password_hash.keys.blank?
password_hash
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice! This makes migration easier

@darbyfrey
Copy link
Contributor

LGTM +1!

shaqq added a commit that referenced this pull request Mar 9, 2015
Allow Napa::Authentication to receive multiple and accept multiple passwords
@shaqq shaqq merged commit 7741316 into bellycard:master Mar 9, 2015
@shaqq shaqq deleted the more-header-passwords branch March 9, 2015 21:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants