Skip to content

Commit de0ecf8

Browse files
author
Till Brehm
committed
Fixed #5248 ISPConfig user login database record not created on percona DB
1 parent f1374f8 commit de0ecf8

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

interface/web/client/client_edit.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -266,7 +266,7 @@ function onAfterInsert() {
266266
$app->functions->generate_ssh_key($this->id, $username);
267267

268268
// Create the controlpaneluser for the client
269-
$sql = "INSERT INTO sys_user (username,passwort,modules,startmodule,app_theme,typ,active,language,groups,default_group,client_id)
269+
$sql = "INSERT INTO sys_user (`username`,`passwort`,`modules`,`startmodule`,`app_theme`,`typ`,`active`,`language`,`groups`,`default_group`,`client_id`)
270270
VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)";
271271
$app->db->query($sql, $username, $password, $modules, $startmodule, $usertheme, $type, $active, $language, $groups, $groupid, $this->id);
272272

interface/web/client/reseller_edit.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -222,7 +222,7 @@ function onAfterInsert() {
222222
$password = crypt(stripslashes($password), $salt);
223223

224224
// Create the controlpaneluser for the reseller
225-
$sql = "INSERT INTO sys_user (username,passwort,modules,startmodule,app_theme,typ,active,language,groups,default_group,client_id)
225+
$sql = "INSERT INTO sys_user (`username`,`passwort`,`modules`,`startmodule`,`app_theme`,`typ,active`,`language`,`groups`,`default_group`,`client_id`)
226226
VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)";
227227
$app->db->query($sql, $username, $password, $modules, $startmodule, $usertheme, $type, $active, $language, $groups, $groupid, $this->id);
228228

0 commit comments

Comments
 (0)