projects
/
catagits/Catalyst-Plugin-Authentication.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
r34155@cain (orig r5598): jayk | 2006-11-27 08:21:47 +0000
[catagits/Catalyst-Plugin-Authentication.git]
/
lib
/
Catalyst
/
Plugin
/
Authentication
/
Credential
/
Password.pm
diff --git
a/lib/Catalyst/Plugin/Authentication/Credential/Password.pm
b/lib/Catalyst/Plugin/Authentication/Credential/Password.pm
index
0a161fc
..
329197d
100644
(file)
--- a/
lib/Catalyst/Plugin/Authentication/Credential/Password.pm
+++ b/
lib/Catalyst/Plugin/Authentication/Credential/Password.pm
@@
-28,7
+28,7
@@
sub authenticate {
my ( $self, $c, $authstore, $authinfo ) = @_;
my $user_obj = $authstore->find_user($authinfo, $c);
- if ($user_obj) {
+ if (ref($user_obj)) {
if ($self->check_password($user_obj, $authinfo)) {
return $user_obj;
}