From: Sven Schöling Date: Fri, 16 Sep 2016 12:51:32 +0000 (+0200) Subject: Auth: 3 neue auto_restore keys für session handling X-Git-Tag: release-3.5.4~2020 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=2c8aca791e958204de1152cebe67d3248e5153dc;p=kivitendo-erp.git Auth: 3 neue auto_restore keys für session handling Die drei werden bei jedem Request gebraucht. Spart 2-3 DB Queries pro Request. --- diff --git a/SL/Auth.pm b/SL/Auth.pm index baa1edafc..3f8589df2 100644 --- a/SL/Auth.pm +++ b/SL/Auth.pm @@ -592,7 +592,7 @@ SQL sub _load_with_auto_restore_column { my ($self, $dbh, $session_id) = @_; - my $auto_restore_keys = join ', ', map { "'${_}'" } qw(login password rpw); + my $auto_restore_keys = join ', ', map { "'${_}'" } qw(login password rpw client_id), SESSION_KEY_ROOT_AUTH, SESSION_KEY_USER_AUTH; my $query = <