fixed bug in Auth.pm where an array was used to send placeholders instead of arrayref
This commit is contained in:
parent
848c4b6934
commit
9bef53dabf
2 changed files with 4 additions and 2 deletions
|
|
@ -94,11 +94,11 @@ sub _isValidUsername {
|
|||
sub _logLogin {
|
||||
my $self = shift;
|
||||
$self->session->db->write("insert into userLoginLog values (?,?,?,?,?)",
|
||||
$_[0],
|
||||
[ $_[0],
|
||||
$_[1],
|
||||
$self->session->datetime->time(),
|
||||
$self->session->env->getIp,
|
||||
$self->session->env->get("HTTP_USER_AGENT")
|
||||
$self->session->env->get("HTTP_USER_AGENT") ]
|
||||
);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue