From 99b28796bcec3031336af6bfe6a52526f1b82f89 Mon Sep 17 00:00:00 2001 From: Moritz Bunkus Date: Fri, 5 Jun 2009 10:34:48 +0000 Subject: [PATCH] Aus Versehen ging das Feld 'login' beim Auslesen von Benutzern in Commit 4258 verloren. --- SL/Auth.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SL/Auth.pm b/SL/Auth.pm index be1b4c5df..94f843a6d 100644 --- a/SL/Auth.pm +++ b/SL/Auth.pm @@ -358,7 +358,7 @@ sub read_user { my $login = shift; my $dbh = $self->dbconnect(); - my $query = qq|SELECT u.id, cfg.cfg_key, cfg.cfg_value + my $query = qq|SELECT u.id, u.login, cfg.cfg_key, cfg.cfg_value FROM auth.user_config cfg LEFT JOIN auth."user" u ON (cfg.user_id = u.id) WHERE (u.login = ?)|; -- 2.20.1