[Bast-commits] r4777 - trunk/DBIx-Class-EncodedColumn/lib/DBIx/Class
groditi at dev.catalyst.perl.org
groditi at dev.catalyst.perl.org
Tue Aug 26 17:23:09 BST 2008
Author: groditi
Date: 2008-08-26 17:23:09 +0100 (Tue, 26 Aug 2008)
New Revision: 4777
Modified:
trunk/DBIx-Class-EncodedColumn/lib/DBIx/Class/EncodedColumn.pm
Log:
POD typos
Modified: trunk/DBIx-Class-EncodedColumn/lib/DBIx/Class/EncodedColumn.pm
===================================================================
--- trunk/DBIx-Class-EncodedColumn/lib/DBIx/Class/EncodedColumn.pm 2008-08-26 04:04:44 UTC (rev 4776)
+++ trunk/DBIx-Class-EncodedColumn/lib/DBIx/Class/EncodedColumn.pm 2008-08-26 16:23:09 UTC (rev 4777)
@@ -105,7 +105,7 @@
encode_column => 1,
encode_class => 'Digest',
encode_args => {algorithm => 'MD5', format => 'base64'},
- digest_check_method => 'check_password',
+ encode_check_method => 'check_password',
}
#Eksblowfish bcrypt / cost of 8/ no key_nul / generate check method
@@ -116,7 +116,7 @@
encode_column => 1,
encode_class => 'Crypt::Eksblowfish::Bcrypt',
encode_args => { key_nul => 0, cost => 8 },
- digest_check_method => 'check_password',
+ encode_check_method => 'check_password',
}
In your application code:
@@ -175,7 +175,7 @@
=head2 encode_check_method => $method_name
-By using the digest_check_method attribute when you declare a column you
+By using the encode_check_method attribute when you declare a column you
can create a check method for that column. The check method accepts a plain
text string, and returns a boolean that indicates whether the digest of the
provided value matches the current value.
More information about the Bast-commits
mailing list