Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Register
Sign in
Toggle navigation
Menu
Open sidebar
Jozef Sroka
ISPConfig 3
Commits
966a2c2a
Commit
966a2c2a
authored
Sep 27, 2016
by
Till Brehm
Browse files
Disallow the creation of passwordless MySQL users trough ISPConfig. Related to #4205.
parent
3cc18054
Changes
26
Hide whitespace changes
Inline
Side-by-side
interface/web/sites/database_user_edit.php
View file @
966a2c2a
...
...
@@ -182,6 +182,9 @@ class page_action extends tform_actions {
//* Database username shall not be empty
if
(
$this
->
dataRecord
[
'database_user'
]
==
''
)
$app
->
tform
->
errorMessage
.
=
$app
->
tform
->
wordbook
[
"database_user_error_empty"
]
.
'<br />'
;
//* Database password shall not be empty
if
(
$this
->
dataRecord
[
'database_password'
]
==
''
)
$app
->
tform
->
errorMessage
.
=
$app
->
tform
->
wordbook
[
"database_password_error_empty"
]
.
'<br />'
;
//* Get the database name and database user prefix
$app
->
uses
(
'getconf,tools_sites'
);
...
...
interface/web/sites/lib/lang/ar_database_user.lng
View file @
966a2c2a
...
...
@@ -21,4 +21,5 @@ $wb['globalsearch_noresults_limit_txt'] = '0 results';
$wb
[
'globalsearch_searchfield_watermark_txt'
]
=
'Search'
;
$wb
[
'globalsearch_suggestions_text_txt'
]
=
'Suggestions'
;
$wb
[
'limit_database_user_txt'
]
=
'The max. number of database users is reached.'
;
$wb
[
'database_password_error_empty'
]
=
'Database password is empty.'
;
?>
interface/web/sites/lib/lang/bg_database_user.lng
View file @
966a2c2a
...
...
@@ -21,4 +21,5 @@ $wb['globalsearch_noresults_limit_txt'] = '0 results';
$wb
[
'globalsearch_searchfield_watermark_txt'
]
=
'Search'
;
$wb
[
'globalsearch_suggestions_text_txt'
]
=
'Suggestions'
;
$wb
[
'limit_database_user_txt'
]
=
'The max. number of database users is reached.'
;
$wb
[
'database_password_error_empty'
]
=
'Database password is empty.'
;
?>
interface/web/sites/lib/lang/br_database_user.lng
View file @
966a2c2a
...
...
@@ -21,4 +21,5 @@ $wb['globalsearch_noresults_limit_txt'] = '0 results';
$wb
[
'globalsearch_searchfield_watermark_txt'
]
=
'Search'
;
$wb
[
'globalsearch_suggestions_text_txt'
]
=
'Suggestions'
;
$wb
[
'limit_database_user_txt'
]
=
'The max. number of database users is reached.'
;
$wb
[
'database_password_error_empty'
]
=
'Database password is empty.'
;
?>
interface/web/sites/lib/lang/ca_database_user.lng
View file @
966a2c2a
...
...
@@ -21,4 +21,5 @@ $wb['globalsearch_noresults_limit_txt'] = '0 resultat';
$wb
[
'globalsearch_searchfield_watermark_txt'
]
=
'Search'
;
$wb
[
'globalsearch_suggestions_text_txt'
]
=
'Suggestions'
;
$wb
[
'limit_database_user_txt'
]
=
'The max. number of database users is reached.'
;
$wb
[
'database_password_error_empty'
]
=
'Database password is empty.'
;
?>
interface/web/sites/lib/lang/cz_database_user.lng
View file @
966a2c2a
...
...
@@ -21,4 +21,5 @@ $wb['globalsearch_noresults_limit_txt'] = '0 výsledků';
$wb
[
'globalsearch_searchfield_watermark_txt'
]
=
'Hledat'
;
$wb
[
'globalsearch_suggestions_text_txt'
]
=
'Návrhy'
;
$wb
[
'limit_database_user_txt'
]
=
'The max. number of database users is reached.'
;
$wb
[
'database_password_error_empty'
]
=
'Database password is empty.'
;
?>
interface/web/sites/lib/lang/de_database_user.lng
View file @
966a2c2a
...
...
@@ -21,4 +21,5 @@ $wb['globalsearch_noresults_limit_txt'] = '0 Treffer';
$wb
[
'globalsearch_searchfield_watermark_txt'
]
=
'Suche'
;
$wb
[
'globalsearch_suggestions_text_txt'
]
=
'Vorschläge'
;
$wb
[
'limit_database_user_txt'
]
=
'The max. number of database users is reached.'
;
$wb
[
'database_password_error_empty'
]
=
'Datenbank-Passwort ist leer.'
;
?>
interface/web/sites/lib/lang/dk_database_user.lng
View file @
966a2c2a
...
...
@@ -21,4 +21,5 @@ $wb['globalsearch_noresults_limit_txt'] = '0 resultater';
$wb
[
'globalsearch_searchfield_watermark_txt'
]
=
'Søg'
;
$wb
[
'globalsearch_suggestions_text_txt'
]
=
'Forslag'
;
$wb
[
'limit_database_user_txt'
]
=
'The max. number of database users is reached.'
;
$wb
[
'database_password_error_empty'
]
=
'Database password is empty.'
;
?>
interface/web/sites/lib/lang/el_database_user.lng
View file @
966a2c2a
...
...
@@ -21,4 +21,5 @@ $wb['globalsearch_noresults_limit_txt'] = '0 results';
$wb
[
'globalsearch_searchfield_watermark_txt'
]
=
'Search'
;
$wb
[
'globalsearch_suggestions_text_txt'
]
=
'Suggestions'
;
$wb
[
'limit_database_user_txt'
]
=
'The max. number of database users is reached.'
;
$wb
[
'database_password_error_empty'
]
=
'Database password is empty.'
;
?>
interface/web/sites/lib/lang/en_database_user.lng
View file @
966a2c2a
...
...
@@ -21,4 +21,5 @@ $wb['globalsearch_noresults_limit_txt'] = "0 results";
$wb
[
'globalsearch_searchfield_watermark_txt'
]
=
"Search"
;
$wb
[
'globalsearch_suggestions_text_txt'
]
=
"Suggestions"
;
$wb
[
'limit_database_user_txt'
]
=
"The max. number of database users is reached."
;
$wb
[
'database_password_error_empty'
]
=
'Database password is empty.'
;
?>
interface/web/sites/lib/lang/es_database_user.lng
View file @
966a2c2a
...
...
@@ -21,4 +21,5 @@ $wb['globalsearch_noresults_limit_txt'] = '0 resultados';
$wb
[
'globalsearch_searchfield_watermark_txt'
]
=
'Buscar'
;
$wb
[
'globalsearch_suggestions_text_txt'
]
=
'Sugerencias'
;
$wb
[
'limit_database_user_txt'
]
=
'The max. number of database users is reached.'
;
$wb
[
'database_password_error_empty'
]
=
'Database password is empty.'
;
?>
interface/web/sites/lib/lang/fi_database_user.lng
View file @
966a2c2a
...
...
@@ -21,4 +21,5 @@ $wb['globalsearch_noresults_limit_txt'] = '0 results';
$wb
[
'globalsearch_searchfield_watermark_txt'
]
=
'Search'
;
$wb
[
'globalsearch_suggestions_text_txt'
]
=
'Suggestions'
;
$wb
[
'limit_database_user_txt'
]
=
'The max. number of database users is reached.'
;
$wb
[
'database_password_error_empty'
]
=
'Database password is empty.'
;
?>
interface/web/sites/lib/lang/fr_database_user.lng
View file @
966a2c2a
...
...
@@ -21,4 +21,5 @@ $wb['globalsearch_noresults_limit_txt'] = '0 results';
$wb
[
'globalsearch_searchfield_watermark_txt'
]
=
'Search'
;
$wb
[
'globalsearch_suggestions_text_txt'
]
=
'Suggestions'
;
$wb
[
'limit_database_user_txt'
]
=
'The max. number of database users is reached.'
;
$wb
[
'database_password_error_empty'
]
=
'Database password is empty.'
;
?>
interface/web/sites/lib/lang/hr_database_user.lng
View file @
966a2c2a
...
...
@@ -21,4 +21,5 @@ $wb['globalsearch_noresults_limit_txt'] = '0 rezultata';
$wb
[
'globalsearch_searchfield_watermark_txt'
]
=
'Traži'
;
$wb
[
'globalsearch_suggestions_text_txt'
]
=
'Sugestija'
;
$wb
[
'limit_database_user_txt'
]
=
'The max. number of database users is reached.'
;
$wb
[
'database_password_error_empty'
]
=
'Database password is empty.'
;
?>
interface/web/sites/lib/lang/hu_database_user.lng
View file @
966a2c2a
...
...
@@ -21,4 +21,5 @@ $wb['globalsearch_noresults_limit_txt'] = '0 results';
$wb
[
'globalsearch_searchfield_watermark_txt'
]
=
'Search'
;
$wb
[
'globalsearch_suggestions_text_txt'
]
=
'Suggestions'
;
$wb
[
'limit_database_user_txt'
]
=
'The max. number of database users is reached.'
;
$wb
[
'database_password_error_empty'
]
=
'Database password is empty.'
;
?>
interface/web/sites/lib/lang/id_database_user.lng
View file @
966a2c2a
...
...
@@ -21,4 +21,5 @@ $wb['globalsearch_noresults_limit_txt'] = '0 results';
$wb
[
'globalsearch_searchfield_watermark_txt'
]
=
'Search'
;
$wb
[
'globalsearch_suggestions_text_txt'
]
=
'Suggestions'
;
$wb
[
'limit_database_user_txt'
]
=
'The max. number of database users is reached.'
;
$wb
[
'database_password_error_empty'
]
=
'Database password is empty.'
;
?>
interface/web/sites/lib/lang/it_database_user.lng
View file @
966a2c2a
...
...
@@ -21,4 +21,5 @@ $wb['globalsearch_noresults_limit_txt'] = '0 results';
$wb
[
'globalsearch_searchfield_watermark_txt'
]
=
'Cerca'
;
$wb
[
'globalsearch_suggestions_text_txt'
]
=
'Suggerimenti'
;
$wb
[
'limit_database_user_txt'
]
=
'The max. number of database users is reached.'
;
$wb
[
'database_password_error_empty'
]
=
'Database password is empty.'
;
?>
interface/web/sites/lib/lang/ja_database_user.lng
View file @
966a2c2a
...
...
@@ -21,4 +21,5 @@ $wb['globalsearch_noresults_limit_txt'] = '0 results';
$wb
[
'globalsearch_searchfield_watermark_txt'
]
=
'Search'
;
$wb
[
'globalsearch_suggestions_text_txt'
]
=
'Suggestions'
;
$wb
[
'limit_database_user_txt'
]
=
'The max. number of database users is reached.'
;
$wb
[
'database_password_error_empty'
]
=
'Database password is empty.'
;
?>
interface/web/sites/lib/lang/nl_database_user.lng
View file @
966a2c2a
...
...
@@ -21,4 +21,5 @@ $wb['globalsearch_noresults_limit_txt'] = '0 resultaten';
$wb
[
'globalsearch_searchfield_watermark_txt'
]
=
'Zoeken'
;
$wb
[
'globalsearch_suggestions_text_txt'
]
=
'Suggesties'
;
$wb
[
'limit_database_user_txt'
]
=
'Het max. aantal database gebruikers is bereikt.'
;
$wb
[
'database_password_error_empty'
]
=
'Database password is empty.'
;
?>
interface/web/sites/lib/lang/pl_database_user.lng
View file @
966a2c2a
...
...
@@ -21,4 +21,5 @@ $wb['globalsearch_noresults_limit_txt'] = '0 results';
$wb
[
'globalsearch_searchfield_watermark_txt'
]
=
'Search'
;
$wb
[
'globalsearch_suggestions_text_txt'
]
=
'Suggestions'
;
$wb
[
'limit_database_user_txt'
]
=
'The max. number of database users is reached.'
;
$wb
[
'database_password_error_empty'
]
=
'Database password is empty.'
;
?>
Prev
1
2
Next
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