From 01bee67d9c6d056ef8cf1ff44d809ac10a7a5e64 Mon Sep 17 00:00:00 2001 From: mh Date: Mon, 8 Aug 2011 00:20:52 +0200 Subject: wording --- lib/trocla/formats/pgsql.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib') 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 -- cgit v1.2.3