Limit menu items to permitted ones according to group
[misc/kostenrechnung] / lib / login.php
index 70ef0e4..4ba192f 100644 (file)
@@ -23,6 +23,7 @@ function check_passwd()
                             'login' => $row['login'],
                             'name' => $row['name'],
                             'email' => $row['email'],
+                            'group' => $row['gid'],
                             'basedir' => substr($_SERVER['SCRIPT_FILENAME'],0,-9));
     return true;
   }