diff options
Diffstat (limited to 'lib/trocla/formats/bcrypt.rb')
-rw-r--r-- | lib/trocla/formats/bcrypt.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/trocla/formats/bcrypt.rb b/lib/trocla/formats/bcrypt.rb index 7196e54..4b6fb33 100644 --- a/lib/trocla/formats/bcrypt.rb +++ b/lib/trocla/formats/bcrypt.rb @@ -1,4 +1,4 @@ -class Trocla::Formats::Bcrypt +class Trocla::Formats::Bcrypt < Trocla::Formats::Base require 'bcrypt' def format(plain_password,options={}) BCrypt::Password.create(plain_password).to_s |