diff options
Diffstat (limited to 'lib/trocla')
-rw-r--r-- | lib/trocla/formats/pgsql.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/trocla/formats/pgsql.rb b/lib/trocla/formats/pgsql.rb index 05c23ce..de233c7 100644 --- a/lib/trocla/formats/pgsql.rb +++ b/lib/trocla/formats/pgsql.rb @@ -1,7 +1,7 @@ class Trocla::Formats::Pgsql require 'digest/md5' def format(plain_password,options={}) - raise "You need pass the username in the options for this format" unless options['username'] + raise "You need pass the username as an option to use this format" unless options['username'] "md5" + Digest::MD5.hexdigest(plain_password + options['username']) end -end
\ No newline at end of file +end |