summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authormh <mh@immerda.ch>2011-08-08 00:20:52 +0200
committermh <mh@immerda.ch>2011-08-08 00:20:52 +0200
commit01bee67d9c6d056ef8cf1ff44d809ac10a7a5e64 (patch)
tree3b449fdab1003f9ca33275a3f8d4f4ea077137b0 /lib
parent02d0ab7cb6f9490e8846c0cb703a9efdb9e6518f (diff)
wording
Diffstat (limited to 'lib')
-rw-r--r--lib/trocla/formats/pgsql.rb4
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