Permalink
Browse files

UserDB password debug logging of marginal usefulness.

  • Loading branch information...
1 parent 46ecfa0 commit 1026a682bceaf8812e24579372b6087e72865a35 @danielbr danielbr committed Apr 2, 2011
Showing with 4 additions and 0 deletions.
  1. +4 −0 lib/Vend/UserDB.pm
View
@@ -1517,6 +1517,10 @@ sub login {
else {
$db_pass = lc $db_pass if $self->{OPTIONS}{ignore_case};
}
+#::logDebug(errmsg("crypt: %s", $self->{CRYPT}));
+#::logDebug(errmsg("ignore_case: %s", $self->{OPTIONS}{ignore_case}));
+#::logDebug(errmsg("given password: %s", $self->{PASSWORD}));
+#::logDebug(errmsg("stored password: %s", $db_pass));
unless ($self->{PASSWORD} eq $db_pass) {
$self->log_either(errmsg("Denied attempted login by user '%s' with incorrect password",
$self->{USERNAME}));

0 comments on commit 1026a68

Please sign in to comment.