summaryrefslogtreecommitdiff
path: root/lib/trocla/formats/bcrypt.rb
diff options
context:
space:
mode:
authormh <mh@immerda.ch>2014-06-27 19:22:44 +0200
committermh <mh@immerda.ch>2014-06-27 19:22:44 +0200
commit08ac533d2156b666ae6ca68e797992629051315f (patch)
tree05ccf120e136b3d6d77a8d91f9930f0139b8e54b /lib/trocla/formats/bcrypt.rb
parent335773cf82f600f0401dad7492c1de5c098a3d06 (diff)
make it possible that formats can query back to trocla itself, so they can lookup other 'keys'
Diffstat (limited to 'lib/trocla/formats/bcrypt.rb')
-rw-r--r--lib/trocla/formats/bcrypt.rb2
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