[Dbix-class] DBIC::DigestColumns patch.

atsushi kobayashi nekokak at gmail.com
Wed Feb 14 01:51:26 GMT 2007


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 =3D $schema->resultset('Member')->search({login_id =3D>
$login_id})->first;
if ($member->password eq $member->digest($password)) {
    # some process.
}

Please deliberation it.

Thanks.

-- =

Atsushi Kobayashi (nekokak)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: DigestColumns.patch
Type: application/octet-stream
Size: 538 bytes
Desc: not available
Url : http://lists.scsys.co.uk/pipermail/dbix-class/attachments/20070214/f1=
8071d5/DigestColumns.obj


More information about the Dbix-class mailing list