From c7893012cdc6214a0d3f17652850d65e30929777 Mon Sep 17 00:00:00 2001 From: Kevin Chabowski Date: Thu, 1 Dec 2011 22:51:36 +0100 Subject: Fixed potential bug in login process. --- ratatoeskr/backend.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ratatoeskr/backend.php b/ratatoeskr/backend.php index ecdb259..0aeafc4 100644 --- a/ratatoeskr/backend.php +++ b/ratatoeskr/backend.php @@ -94,7 +94,7 @@ $backend_subactions = url_action_subactions(array( if($url_next[0] == "login") $url_next = array("content", "write"); $data["user"] = $user; - $ste->vars["user"] = array("name" => $user->username, "lang" => $user->language); + $ste->vars["user"] = array("id" => $user->get_id(), "name" => $user->username, "lang" => $user->language); return; /* Authentification successful, continue */ } -- cgit v1.2.3-70-g09d2