added password generator, fixes #346

Signed-off-by: Christoph Burchert (Chb) <derchb@froxlor.org>
This commit is contained in:
Christoph Burchert (Chb)
2011-04-16 16:46:38 +02:00
parent d02daee582
commit e87c16b598
15 changed files with 92 additions and 1 deletions

View File

@@ -34,6 +34,11 @@ return array(
'type' => 'password',
'mandatory' => true
),
'admin_password_suggestion' => array(
'label' => $lng['customer']['generated_pwd'],
'type' => 'text',
'value' => generatePassword(),
),
'def_language' => array(
'label' => $lng['login']['language'],
'type' => 'select',

View File

@@ -43,6 +43,12 @@ return array(
'type' => 'password',
'visible' => ($result['adminid'] == $userinfo['userid'] ? false : true)
),
'admin_password_suggestion' => array(
'label' => $lng['customer']['generated_pwd'],
'type' => 'text',
'value' => generatePassword(),
'visible' => ($result['adminid'] == $userinfo['userid'] ? false : true)
),
'def_language' => array(
'label' => $lng['login']['language'],
'type' => 'select',