summaryrefslogtreecommitdiff
path: root/lib/trocla/formats/sha256crypt.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/trocla/formats/sha256crypt.rb')
-rw-r--r--lib/trocla/formats/sha256crypt.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/trocla/formats/sha256crypt.rb b/lib/trocla/formats/sha256crypt.rb
index 6bd1b72..e34c149 100644
--- a/lib/trocla/formats/sha256crypt.rb
+++ b/lib/trocla/formats/sha256crypt.rb
@@ -1,5 +1,5 @@
# salted crypt
-class Trocla::Formats::Sha256crypt
+class Trocla::Formats::Sha256crypt < Trocla::Formats::Base
def format(plain_password,options={})
plain_password.crypt('$5$' << Trocla::Util.salt << '$')
end