diff options
Diffstat (limited to 'lib/trocla/formats/sha512crypt.rb')
-rw-r--r-- | lib/trocla/formats/sha512crypt.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/trocla/formats/sha512crypt.rb b/lib/trocla/formats/sha512crypt.rb index d2725c1..47eb11e 100644 --- a/lib/trocla/formats/sha512crypt.rb +++ b/lib/trocla/formats/sha512crypt.rb @@ -1,5 +1,5 @@ # salted crypt -class Trocla::Formats::Sha512crypt +class Trocla::Formats::Sha512crypt < Trocla::Formats::Base def format(plain_password,options={}) plain_password.crypt('$6$' << Trocla::Util.salt << '$') end |