Hi.ALL.

I wrote DBIC::DigestColumns patch.

This patch provide digest method and the character string can be
separately specified.
To want occasionally to use the character string specified on the
system side when the user's inputting it in Digest, this patch was
written.
For instance, password.
The purpose is to be able to check the password when logging it in
when whether digest method
was separately made is said.

for example:

my $member = $schema->resultset('Member')->search({login_id =>
$login_id})->first;
if ($member->password eq $member->digest($password)) {
   # some process.
}

Please deliberation it.

Thanks.

--
Atsushi Kobayashi (nekokak)

Attachment: DigestColumns.patch
Description: Binary data

_______________________________________________
List: http://lists.rawmode.org/cgi-bin/mailman/listinfo/dbix-class
Wiki: http://dbix-class.shadowcatsystems.co.uk/
IRC: irc.perl.org#dbix-class
SVN: http://dev.catalyst.perl.org/repos/bast/trunk/DBIx-Class/
Searchable Archive: http://www.mail-archive.com/[email protected]/

Reply via email to