Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
François GrizzlyDev
ISPConfig 3
Commits
de0ecf8f
Commit
de0ecf8f
authored
Jul 03, 2019
by
Till Brehm
Browse files
Fixed #5248 ISPConfig user login database record not created on percona DB
parent
f1374f87
Changes
2
Hide whitespace changes
Inline
Side-by-side
interface/web/client/client_edit.php
View file @
de0ecf8f
...
...
@@ -266,7 +266,7 @@ class page_action extends tform_actions {
$app
->
functions
->
generate_ssh_key
(
$this
->
id
,
$username
);
// Create the controlpaneluser for the client
$sql
=
"INSERT INTO sys_user (username
,
passwort
,
modules
,
startmodule
,
app_theme
,typ,
active
,
language
,
groups
,
default_group
,
client_id)
$sql
=
"INSERT INTO sys_user (
`
username
`,`
passwort
`,`
modules
`,`
startmodule
`,`
app_theme
`,`typ`,`
active
`,`
language
`,`
groups
`,`
default_group
`,`
client_id
`
)
VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)"
;
$app
->
db
->
query
(
$sql
,
$username
,
$password
,
$modules
,
$startmodule
,
$usertheme
,
$type
,
$active
,
$language
,
$groups
,
$groupid
,
$this
->
id
);
...
...
interface/web/client/reseller_edit.php
View file @
de0ecf8f
...
...
@@ -222,7 +222,7 @@ class page_action extends tform_actions {
$password
=
crypt
(
stripslashes
(
$password
),
$salt
);
// Create the controlpaneluser for the reseller
$sql
=
"INSERT INTO sys_user (username
,
passwort
,
modules
,
startmodule
,
app_theme
,
typ,active
,
language
,
groups
,
default_group
,
client_id)
$sql
=
"INSERT INTO sys_user (
`
username
`,`
passwort
`,`
modules
`,`
startmodule
`,`
app_theme
`,`
typ,active
`,`
language
`,`
groups
`,`
default_group
`,`
client_id
`
)
VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)"
;
$app
->
db
->
query
(
$sql
,
$username
,
$password
,
$modules
,
$startmodule
,
$usertheme
,
$type
,
$active
,
$language
,
$groups
,
$groupid
,
$this
->
id
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment