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
Guilherme Filippo
ISPConfig 3
Commits
967a4ace
Commit
967a4ace
authored
Jun 29, 2011
by
tbrehm
Browse files
Enable vm module for admin user.
Fixed: Unknown column 'id_rsa' in 'field list' when password is changed in tools.
parent
b74ef5e5
Changes
3
Hide whitespace changes
Inline
Side-by-side
install/sql/ispconfig3.sql
View file @
967a4ace
...
...
@@ -1916,7 +1916,7 @@ INSERT INTO `sys_ini` (`sysini_id`, `config`) VALUES (1, '');
-- Dumping data for table `sys_user`
--
INSERT
INTO
`sys_user`
(
`userid`
,
`sys_userid`
,
`sys_groupid`
,
`sys_perm_user`
,
`sys_perm_group`
,
`sys_perm_other`
,
`username`
,
`passwort`
,
`modules`
,
`startmodule`
,
`app_theme`
,
`typ`
,
`active`
,
`language`
,
`groups`
,
`default_group`
,
`client_id`
)
VALUES
(
1
,
1
,
0
,
'riud'
,
'riud'
,
''
,
'admin'
,
'21232f297a57a5a743894a0e4a801fc3'
,
'dashboard,admin,client,mail,monitor,sites,dns,tools,help'
,
'dashboard'
,
'default'
,
'admin'
,
1
,
'en'
,
'1,2'
,
1
,
0
);
INSERT
INTO
`sys_user`
(
`userid`
,
`sys_userid`
,
`sys_groupid`
,
`sys_perm_user`
,
`sys_perm_group`
,
`sys_perm_other`
,
`username`
,
`passwort`
,
`modules`
,
`startmodule`
,
`app_theme`
,
`typ`
,
`active`
,
`language`
,
`groups`
,
`default_group`
,
`client_id`
)
VALUES
(
1
,
1
,
0
,
'riud'
,
'riud'
,
''
,
'admin'
,
'21232f297a57a5a743894a0e4a801fc3'
,
'dashboard,admin,client,mail,monitor,sites,dns,
vm,
tools,help'
,
'dashboard'
,
'default'
,
'admin'
,
1
,
'en'
,
'1,2'
,
1
,
0
);
-- --------------------------------------------------------
...
...
interface/lib/config.inc.php
View file @
967a4ace
...
...
@@ -50,7 +50,7 @@ define('ISPC_APP_VERSION', '3.0.2');
//** Database
$conf
[
'db_type'
]
=
'mysql'
;
$conf
[
'db_host'
]
=
'localhost'
;
$conf
[
'db_database'
]
=
'
db
ispconfig'
;
$conf
[
'db_database'
]
=
'ispconfig
3
'
;
$conf
[
'db_user'
]
=
'root'
;
$conf
[
'db_password'
]
=
''
;
$conf
[
'db_charset'
]
=
'utf8'
;
// same charset as html-charset - (HTML --> MYSQL: "utf-8" --> "utf8", "iso-8859-1" --> "latin1")
...
...
interface/web/tools/form/user_settings.tform.php
View file @
967a4ace
...
...
@@ -133,26 +133,6 @@ $form['tabs']['users'] = array (
'maxlength'
=>
'2'
,
'rows'
=>
''
,
'cols'
=>
''
),
'id_rsa'
=>
array
(
'datatype'
=>
'VARCHAR'
,
'formtype'
=>
'TEXT'
,
'default'
=>
''
,
'datasource'
=>
array
(
'type'
=>
'SQL'
,
'querystring'
=>
'SELECT id_rsa FROM client WHERE {AUTHSQL}'
,
'valuefield'
=>
'id_rsa'
),
'value'
=>
''
),
'ssh_rsa'
=>
array
(
'datatype'
=>
'VARCHAR'
,
'formtype'
=>
'TEXT'
,
'default'
=>
''
,
'datasource'
=>
array
(
'type'
=>
'SQL'
,
'querystring'
=>
'SELECT ssh_rsa FROM client WHERE {AUTHSQL}'
,
'valuefield'
=>
'ssh_rsa'
),
'value'
=>
''
)
##################################
# ENDE Datenbankfelder
...
...
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