From 2c8aca791e958204de1152cebe67d3248e5153dc Mon Sep 17 00:00:00 2001 From: =?utf8?q?Sven=20Sch=C3=B6ling?= Date: Fri, 16 Sep 2016 14:51:32 +0200 Subject: [PATCH] =?utf8?q?Auth:=203=20neue=20auto=5Frestore=20keys=20f?= =?utf8?q?=C3=BCr=20session=20handling?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Die drei werden bei jedem Request gebraucht. Spart 2-3 DB Queries pro Request. --- SL/Auth.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 = <