diff --git a/docs/changelog/7.x.x.txt b/docs/changelog/7.x.x.txt index ab39b458b..a0faf5f77 100644 --- a/docs/changelog/7.x.x.txt +++ b/docs/changelog/7.x.x.txt @@ -3,6 +3,8 @@ times. - Fixed bugs the SyncProfileToLdap workflow activity where it would ignore the ldapAlias config setting and it crash (Martin Kamerbeek / Procolix) + - fix: entry in error log of WebGUI + 7.2.0 - Added server side spellchecker (Martin Kamerbeek / Procolix) diff --git a/lib/WebGUI/Auth.pm b/lib/WebGUI/Auth.pm index 7f5075202..3fd7155f1 100644 --- a/lib/WebGUI/Auth.pm +++ b/lib/WebGUI/Auth.pm @@ -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") ] ); }