Merge pull request #12635 from mperham/4-0-stable
Allow any version of BCrypt
This commit is contained in:
parent
6c570648ad
commit
c31b900221
@ -46,7 +46,6 @@ def has_secure_password(options = {})
|
||||
# This is to avoid ActiveModel (and by extension the entire framework)
|
||||
# being dependent on a binary library.
|
||||
begin
|
||||
gem 'bcrypt-ruby', '~> 3.1.2'
|
||||
require 'bcrypt'
|
||||
rescue LoadError
|
||||
$stderr.puts "You don't have bcrypt-ruby installed in your application. Please add it to your Gemfile and run bundle install"
|
||||
|
Loading…
Reference in New Issue
Block a user