show link to clear plaintext email account passwords if enabled; set store-plaintext-passwords default to 'off'; fixes #557

Signed-off-by: Michael Kaufmann <d00p@froxlor.org>
This commit is contained in:
Michael Kaufmann
2018-07-10 09:47:01 +02:00
parent 436d141bd1
commit 1690cadab9
5 changed files with 12 additions and 6 deletions

View File

@@ -272,6 +272,12 @@ return array(
'label' => $lng['admin']['autoupdate'],
'required_resources' => 'change_serversettings',
'show_element' => extension_loaded('zip')
),
array(
'url' => 'admin_settings.php?page=wipecleartextmailpws',
'label' => $lng['admin']['wipecleartextmailpwd'],
'required_resources' => 'change_serversettings',
'show_element' => (Settings::Get('system.mailpwcleartext') == true)
)
)
),