From e7ee70541fe60800480d7b3a830a80f715e60ce2 Mon Sep 17 00:00:00 2001 From: simonp Date: Tue, 27 May 2014 21:09:24 +0200 Subject: Add option to force new users to change their password (#1486884) --- plugins/password/password.php | 36 +++++++++++++++++++++++++++++++++++- 1 file changed, 35 insertions(+), 1 deletion(-) (limited to 'plugins/password/password.php') diff --git a/plugins/password/password.php b/plugins/password/password.php index 83f951b98..a9e6f4e04 100644 --- a/plugins/password/password.php +++ b/plugins/password/password.php @@ -40,9 +40,10 @@ define('PASSWORD_SUCCESS', 0); */ class password extends rcube_plugin { - public $task = 'settings'; + public $task = 'settings|login'; public $noframe = true; public $noajax = true; + private $newuser = false; function init() { @@ -70,9 +71,15 @@ class password extends rcube_plugin } $this->add_hook('settings_actions', array($this, 'settings_actions')); + if($rcmail->config->get('password_force_new_user')) + { + $this->add_hook('user_create', array($this, 'user_create')); + $this->add_hook('login_after', array($this, 'login_after')); + } $this->register_action('plugin.password', array($this, 'password_init')); $this->register_action('plugin.password-save', array($this, 'password_save')); + $this->register_action('plugin.password-first', array($this, 'password_first')); if (strpos($rcmail->action, 'plugin.password') === 0) { @@ -300,4 +307,31 @@ class password extends rcube_plugin return $reason; } + + function user_create($args) + { + $this->newuser = true; + return $args; + } + + function login_after($args) + { + if($this->newuser) + { + $args['_task'] = 'settings'; + $args['_action'] = 'plugin.password-first'; + } + return $args; + } + + function password_first() + { + $rcmail = rcmail::get_instance(); + $this->add_texts('localization/'); + $this->register_handler('plugin.body', array($this, 'password_form')); + $rcmail->output->set_pagetitle($this->gettext('changepasswd')); + $rcmail->output->command('display_message', $this->gettext('firstloginchange'), 'notice'); + $rcmail->overwrite_action('plugin.password'); + $rcmail->output->send('plugin'); + } } -- cgit v1.2.3 From 9e9c03cb9078b9d9a89979e8cace8d9370cf972c Mon Sep 17 00:00:00 2001 From: simonp Date: Fri, 6 Jun 2014 20:24:24 +0200 Subject: Moved functionality from password_first to password_init --- plugins/password/password.php | 21 +++++++-------------- 1 file changed, 7 insertions(+), 14 deletions(-) (limited to 'plugins/password/password.php') diff --git a/plugins/password/password.php b/plugins/password/password.php index a9e6f4e04..2448b4563 100644 --- a/plugins/password/password.php +++ b/plugins/password/password.php @@ -71,8 +71,7 @@ class password extends rcube_plugin } $this->add_hook('settings_actions', array($this, 'settings_actions')); - if($rcmail->config->get('password_force_new_user')) - { + if($rcmail->config->get('password_force_new_user')) { $this->add_hook('user_create', array($this, 'user_create')); $this->add_hook('login_after', array($this, 'login_after')); } @@ -101,6 +100,10 @@ class password extends rcube_plugin $rcmail = rcmail::get_instance(); $rcmail->output->set_pagetitle($this->gettext('changepasswd')); + $first = rcube_utils::get_input_value('_first', rcube_utils::INPUT_GET); + if(isset($first) && $first == 'true') { + $rcmail->output->command('display_message', $this->gettext('firstloginchange'), 'notice'); + } $rcmail->output->send('plugin'); } @@ -319,19 +322,9 @@ class password extends rcube_plugin if($this->newuser) { $args['_task'] = 'settings'; - $args['_action'] = 'plugin.password-first'; + $args['_action'] = 'plugin.password'; + $args['_first'] = 'true'; } return $args; } - - function password_first() - { - $rcmail = rcmail::get_instance(); - $this->add_texts('localization/'); - $this->register_handler('plugin.body', array($this, 'password_form')); - $rcmail->output->set_pagetitle($this->gettext('changepasswd')); - $rcmail->output->command('display_message', $this->gettext('firstloginchange'), 'notice'); - $rcmail->overwrite_action('plugin.password'); - $rcmail->output->send('plugin'); - } } -- cgit v1.2.3 From 6f7042e5820997464fa2198487d37e90cbf054f9 Mon Sep 17 00:00:00 2001 From: simonp Date: Sat, 7 Jun 2014 13:03:41 +0200 Subject: Fix for login/hosts exceptions --- plugins/password/password.php | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) (limited to 'plugins/password/password.php') diff --git a/plugins/password/password.php b/plugins/password/password.php index 2448b4563..74c53c9d9 100644 --- a/plugins/password/password.php +++ b/plugins/password/password.php @@ -44,6 +44,8 @@ class password extends rcube_plugin public $noframe = true; public $noajax = true; private $newuser = false; + private $login_exceptions; + private $allowed_hosts; function init() { @@ -53,6 +55,7 @@ class password extends rcube_plugin // Host exceptions $hosts = $rcmail->config->get('password_hosts'); + $this->allowed_hosts = $hosts; if (!empty($hosts) && !in_array($_SESSION['storage_host'], $hosts)) { return; } @@ -61,6 +64,7 @@ class password extends rcube_plugin if ($exceptions = $rcmail->config->get('password_login_exceptions')) { $exceptions = array_map('trim', (array) $exceptions); $exceptions = array_filter($exceptions); + $this->login_exceptions = $exceptions; $username = $_SESSION['username']; foreach ($exceptions as $ec) { @@ -78,7 +82,6 @@ class password extends rcube_plugin $this->register_action('plugin.password', array($this, 'password_init')); $this->register_action('plugin.password-save', array($this, 'password_save')); - $this->register_action('plugin.password-first', array($this, 'password_first')); if (strpos($rcmail->action, 'plugin.password') === 0) { @@ -319,6 +322,18 @@ class password extends rcube_plugin function login_after($args) { + $rcmail = rcmail::get_instance(); + $userstruct = $rcmail->user; + $username = $userstruct->get_username(); + foreach ($this->login_exceptions as $ec) { + if ($username === $ec) { + return $args; + } + } + $domain = $userstruct->get_username('domain'); + if (!empty($this->allowed_hosts) && !in_array($domain, $this->allowed_hosts)) { + return; + } if($this->newuser) { $args['_task'] = 'settings'; -- cgit v1.2.3 From 12514266b94269eebf399cb6052687762f370e9d Mon Sep 17 00:00:00 2001 From: simonp Date: Tue, 10 Jun 2014 13:06:10 +0200 Subject: Move login/hosts to seperate function --- plugins/password/password.php | 64 +++++++++++++++++++++---------------------- 1 file changed, 32 insertions(+), 32 deletions(-) (limited to 'plugins/password/password.php') diff --git a/plugins/password/password.php b/plugins/password/password.php index 74c53c9d9..7b6b80dc7 100644 --- a/plugins/password/password.php +++ b/plugins/password/password.php @@ -44,8 +44,6 @@ class password extends rcube_plugin public $noframe = true; public $noajax = true; private $newuser = false; - private $login_exceptions; - private $allowed_hosts; function init() { @@ -53,27 +51,10 @@ class password extends rcube_plugin $this->load_config(); - // Host exceptions - $hosts = $rcmail->config->get('password_hosts'); - $this->allowed_hosts = $hosts; - if (!empty($hosts) && !in_array($_SESSION['storage_host'], $hosts)) { + if($rcmail->task == 'settings' && !$this->check_host_login_exceptions()) { return; } - - // Login exceptions - if ($exceptions = $rcmail->config->get('password_login_exceptions')) { - $exceptions = array_map('trim', (array) $exceptions); - $exceptions = array_filter($exceptions); - $this->login_exceptions = $exceptions; - $username = $_SESSION['username']; - - foreach ($exceptions as $ec) { - if ($username === $ec) { - return; - } - } - } - + $this->add_hook('settings_actions', array($this, 'settings_actions')); if($rcmail->config->get('password_force_new_user')) { $this->add_hook('user_create', array($this, 'user_create')); @@ -322,17 +303,8 @@ class password extends rcube_plugin function login_after($args) { - $rcmail = rcmail::get_instance(); - $userstruct = $rcmail->user; - $username = $userstruct->get_username(); - foreach ($this->login_exceptions as $ec) { - if ($username === $ec) { - return $args; - } - } - $domain = $userstruct->get_username('domain'); - if (!empty($this->allowed_hosts) && !in_array($domain, $this->allowed_hosts)) { - return; + if(!$this->check_host_login_exceptions()) { + return $args; } if($this->newuser) { @@ -342,4 +314,32 @@ class password extends rcube_plugin } return $args; } + + // Check if host and login is allowed to change the password, false = not allowed, true = not allowed + private function check_host_login_exceptions() + { + $rcmail = rcmail::get_instance(); + // Host exceptions + $hosts = $rcmail->config->get('password_hosts'); + $this->allowed_hosts = $hosts; + if (!empty($hosts) && !in_array($_SESSION['storage_host'], $hosts)) { + return false; + } + + + // Login exceptions + if ($exceptions = $rcmail->config->get('password_login_exceptions')) { + $exceptions = array_map('trim', (array) $exceptions); + $exceptions = array_filter($exceptions); + $this->login_exceptions = $exceptions; + $username = $_SESSION['username']; + + foreach ($exceptions as $ec) { + if ($username === $ec) { + return false; + } + } + } + return true; + } } -- cgit v1.2.3 From 4520fa0f38e9744fa1541c2365000710f7763242 Mon Sep 17 00:00:00 2001 From: Aleksander Machniak Date: Tue, 10 Jun 2014 15:22:38 +0200 Subject: Code cleanup and small fixes (after pull request merge) --- plugins/password/package.xml | 271 +----------------------------------------- plugins/password/password.php | 61 +++++----- 2 files changed, 32 insertions(+), 300 deletions(-) (limited to 'plugins/password/password.php') diff --git a/plugins/password/package.xml b/plugins/password/package.xml index 16eda1ad0..4fa023c77 100644 --- a/plugins/password/package.xml +++ b/plugins/password/package.xml @@ -15,9 +15,9 @@ alec@alec.pl yes - 2013-04-28 + 2014-06-10 - 3.4 + 3.5 2.0 @@ -25,9 +25,6 @@ stable GNU GPLv3+ - -Added password_force_save option - @@ -114,268 +111,4 @@ Added password_force_save option - - - 2010-04-29 - - - 1.4 - 1.4 - - - stable - stable - - GNU GPLv2 - -- Use mail_domain value for domain variables when there is no domain in username: - sql and ldap drivers (#1486694) -- Created package.xml - - - - 2010-06-20 - - - 1.5 - 1.5 - - - stable - stable - - GNU GPLv2 - -- Removed user_login/username_local/username_domain methods, - use rcube_user::get_username instead (#1486707) - - - - 2010-08-01 - - - 1.6 - 1.5 - - - stable - stable - - GNU GPLv2 - -- Added ldap_simple driver - - - - 2010-09-10 - - - 1.7 - 1.5 - - - stable - stable - - GNU GPLv2 - -- Added XMail driver -- Improve security of chpasswd driver using popen instead of exec+echo (#1486987) -- Added chpass-wrapper.py script to improve security (#1486987) - - - - 2010-09-29 - - - 1.8 - 1.6 - - - stable - stable - - GNU GPLv2 - -- Added possibility to display extended error messages (#1486704) -- Added extended error messages in Poppassd driver (#1486704) - - - - - 1.9 - 1.6 - - - stable - stable - - GNU GPLv2 - -- Added password_ldap_lchattr option (#1486927) - - - - 2010-10-07 - - - 2.0 - 1.6 - - - stable - stable - - GNU GPLv2 - -- Fixed SQL Injection in SQL driver when using %p or %o variables in query (#1487034) - - - - 2010-11-02 - - - 2.1 - 1.6 - - - stable - stable - - GNU GPLv2 - -- hMail driver: Add possibility to connect to remote host - - - - 2011-02-15 - - - 2.2 - 1.6 - - - stable - stable - - GNU GPLv2 - -- hMail driver: add username_domain detection (#1487100) -- hMail driver: HTML tags in logged messages should be stripped off (#1487099) -- Chpasswd driver: add newline at end of input to chpasswd binary (#1487141) -- Fix usage of configured temp_dir instead of /tmp (#1487447) -- ldap_simple driver: fix parse error -- ldap/ldap_simple drivers: support %dc variable in config -- ldap/ldap_simple drivers: support Samba password change -- Fix extended error messages handling (#1487676) -- Fix double request when clicking on Password tab in Firefox -- Fix deprecated split() usage in xmail and directadmin drivers (#1487769) -- Added option (password_log) for logging password changes -- Virtualmin driver: Add option for setting username format (#1487781) - - - - 2011-10-26 - - - 2.3 - 1.6 - - - stable - stable - - GNU GPLv2 - -- When old and new passwords are the same, do nothing, return success (#1487823) -- Fixed Samba password hashing in 'ldap' driver -- Added 'password_change' hook for plugin actions after successful password change -- Fixed bug where 'doveadm pw' command was used as dovecotpw utility -- Improve generated crypt() passwords (#1488136) - - - - 2011-11-23 - - 2.4 - 1.6 - - - stable - stable - - GNU GPLv2 - -- Added option to use punycode or unicode for domain names (#1488103) -- Save Samba password hashes in capital letters (#1488197) - - - - 2011-11-23 - - 3.0 - 2.0 - - - stable - stable - - GNU GPLv2 - -- Fixed drivers namespace issues - - - - 2012-03-07 - - 3.1 - 2.0 - - - stable - stable - - GNU GPLv2 - -- Added pw_usermod driver (#1487826) -- Added option password_login_exceptions (#1487826) -- Added domainfactory driver (#1487882) -- Added DBMail driver (#1488281) -- Helper files moved to helpers/ directory from drivers/ -- Added Expect driver (#1488363) -- Added Samba password (#1488364) - - - - 2012-11-15 - - 3.2 - 2.0 - - - stable - stable - - GNU GPLv2 - -- Fix wrong (non-specific) error message on crypt or connection error (#1488808) -- Added option to define IMAP hosts that support password changes - password_hosts - - - - 2013-03-30 - - 3.3 - 2.0 - - - stable - stable - - GNU GPLv2 - -Added new cPanel driver - fixes localization related issues (#1487015) - - - diff --git a/plugins/password/password.php b/plugins/password/password.php index 7b6b80dc7..9bf020176 100644 --- a/plugins/password/password.php +++ b/plugins/password/password.php @@ -43,6 +43,7 @@ class password extends rcube_plugin public $task = 'settings|login'; public $noframe = true; public $noajax = true; + private $newuser = false; function init() @@ -51,22 +52,23 @@ class password extends rcube_plugin $this->load_config(); - if($rcmail->task == 'settings' && !$this->check_host_login_exceptions()) { - return; - } - - $this->add_hook('settings_actions', array($this, 'settings_actions')); - if($rcmail->config->get('password_force_new_user')) { - $this->add_hook('user_create', array($this, 'user_create')); - $this->add_hook('login_after', array($this, 'login_after')); - } + if ($rcmail->task == 'settings') { + if (!$this->check_host_login_exceptions()) { + return; + } - $this->register_action('plugin.password', array($this, 'password_init')); - $this->register_action('plugin.password-save', array($this, 'password_save')); + $this->add_hook('settings_actions', array($this, 'settings_actions')); + $this->register_action('plugin.password', array($this, 'password_init')); + $this->register_action('plugin.password-save', array($this, 'password_save')); - if (strpos($rcmail->action, 'plugin.password') === 0) { - $this->include_script('password.js'); + if (strpos($rcmail->action, 'plugin.password') === 0) { + $this->include_script('password.js'); + } + } + else if ($rcmail->config->get('password_force_new_user')) { + $this->add_hook('user_create', array($this, 'user_create')); + $this->add_hook('login_after', array($this, 'login_after')); } } @@ -84,24 +86,25 @@ class password extends rcube_plugin $rcmail = rcmail::get_instance(); $rcmail->output->set_pagetitle($this->gettext('changepasswd')); - $first = rcube_utils::get_input_value('_first', rcube_utils::INPUT_GET); - if(isset($first) && $first == 'true') { + + if (rcube_utils::get_input_value('_first', rcube_utils::INPUT_GET)) { $rcmail->output->command('display_message', $this->gettext('firstloginchange'), 'notice'); } + $rcmail->output->send('plugin'); } function password_save() { - $rcmail = rcmail::get_instance(); - $this->add_texts('localization/'); $this->register_handler('plugin.body', array($this, 'password_form')); + + $rcmail = rcmail::get_instance(); $rcmail->output->set_pagetitle($this->gettext('changepasswd')); $confirm = $rcmail->config->get('password_confirm_current'); $required_length = intval($rcmail->config->get('password_minimum_length')); - $check_strength = $rcmail->config->get('password_require_nonalpha'); + $check_strength = $rcmail->config->get('password_require_nonalpha'); if (($confirm && !isset($_POST['_curpasswd'])) || !isset($_POST['_newpasswd'])) { $rcmail->output->command('display_message', $this->gettext('nopassword'), 'error'); @@ -294,44 +297,39 @@ class password extends rcube_plugin return $reason; } - + function user_create($args) { $this->newuser = true; return $args; } - + function login_after($args) { - if(!$this->check_host_login_exceptions()) { - return $args; - } - if($this->newuser) - { - $args['_task'] = 'settings'; + if ($this->newuser && $this->check_host_login_exceptions()) { + $args['_task'] = 'settings'; $args['_action'] = 'plugin.password'; - $args['_first'] = 'true'; + $args['_first'] = 'true'; } + return $args; } - + // Check if host and login is allowed to change the password, false = not allowed, true = not allowed private function check_host_login_exceptions() { $rcmail = rcmail::get_instance(); + // Host exceptions $hosts = $rcmail->config->get('password_hosts'); - $this->allowed_hosts = $hosts; if (!empty($hosts) && !in_array($_SESSION['storage_host'], $hosts)) { return false; } - // Login exceptions if ($exceptions = $rcmail->config->get('password_login_exceptions')) { $exceptions = array_map('trim', (array) $exceptions); $exceptions = array_filter($exceptions); - $this->login_exceptions = $exceptions; $username = $_SESSION['username']; foreach ($exceptions as $ec) { @@ -340,6 +338,7 @@ class password extends rcube_plugin } } } + return true; } } -- cgit v1.2.3 From 7e309b872f9a60ecb5ac975fdd2f4f89b508aba8 Mon Sep 17 00:00:00 2001 From: Aleksander Machniak Date: Mon, 16 Jun 2014 11:24:45 +0200 Subject: Add title attribute to settings menu --- plugins/password/localization/en_US.inc | 2 +- plugins/password/password.php | 9 ++++++++- 2 files changed, 9 insertions(+), 2 deletions(-) (limited to 'plugins/password/password.php') diff --git a/plugins/password/localization/en_US.inc b/plugins/password/localization/en_US.inc index 94475ce36..278a20374 100644 --- a/plugins/password/localization/en_US.inc +++ b/plugins/password/localization/en_US.inc @@ -17,7 +17,7 @@ */ $labels = array(); -$labels['changepasswd'] = 'Change Password'; +$labels['changepasswd'] = 'Change password'; $labels['curpasswd'] = 'Current Password:'; $labels['newpasswd'] = 'New Password:'; $labels['confpasswd'] = 'Confirm New Password:'; diff --git a/plugins/password/password.php b/plugins/password/password.php index 9bf020176..6c599bb4b 100644 --- a/plugins/password/password.php +++ b/plugins/password/password.php @@ -75,7 +75,14 @@ class password extends rcube_plugin function settings_actions($args) { // register as settings action - $args['actions'][] = array('action' => 'plugin.password', 'class' => 'password', 'label' => 'password', 'domain' => 'password'); + $args['actions'][] = array( + 'action' => 'plugin.password', + 'class' => 'password', + 'label' => 'password', + 'title' => 'changepasswd', + 'domain' => 'password', + ); + return $args; } -- cgit v1.2.3 From 90ab9f2847df8721c4eb65733eaa25712f1a3102 Mon Sep 17 00:00:00 2001 From: Aleksander Machniak Date: Fri, 20 Jun 2014 10:03:42 +0200 Subject: Fix loading localization --- plugins/password/password.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'plugins/password/password.php') diff --git a/plugins/password/password.php b/plugins/password/password.php index 6c599bb4b..ad65616d2 100644 --- a/plugins/password/password.php +++ b/plugins/password/password.php @@ -57,6 +57,8 @@ class password extends rcube_plugin return; } + $this->add_texts('localization/'); + $this->add_hook('settings_actions', array($this, 'settings_actions')); $this->register_action('plugin.password', array($this, 'password_init')); @@ -88,7 +90,6 @@ class password extends rcube_plugin function password_init() { - $this->add_texts('localization/'); $this->register_handler('plugin.body', array($this, 'password_form')); $rcmail = rcmail::get_instance(); @@ -103,7 +104,6 @@ class password extends rcube_plugin function password_save() { - $this->add_texts('localization/'); $this->register_handler('plugin.body', array($this, 'password_form')); $rcmail = rcmail::get_instance(); -- cgit v1.2.3 From 1c5fdd674eaf5edcbec5c06279204108a2953aff Mon Sep 17 00:00:00 2001 From: simonp Date: Wed, 25 Jun 2014 17:54:14 +0200 Subject: Show password rules before committing new password (#1488285) --- plugins/password/password.php | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) (limited to 'plugins/password/password.php') diff --git a/plugins/password/password.php b/plugins/password/password.php index ad65616d2..cdea0ab25 100644 --- a/plugins/password/password.php +++ b/plugins/password/password.php @@ -226,9 +226,28 @@ class password extends rcube_plugin $table->add('title', html::label($field_id, rcube::Q($this->gettext('confpasswd')))); $table->add(null, $input_confpasswd->show()); + $rules = ''; + + $required_length = intval($rcmail->config->get('password_minimum_length')); + if($required_length > 0) { + $rules .= html::tag('li', array('id' => 'required-length'), $this->gettext(array( + 'name' => 'passwordshort', + 'vars' => array('length' => $required_length) + ))); + } + + if($rcmail->config->get('password_require_nonalpha')) { + $rules .= html::tag('li', array('id' => 'require-nonalpha'), $this->gettext('passwordweak')); + } + + if(!empty($rules)) { + $rules = html::tag('ul', array('id' => 'ruleslist'), $rules); + } + $out = html::div(array('class' => 'box'), html::div(array('id' => 'prefs-title', 'class' => 'boxtitle'), $this->gettext('changepasswd')) . html::div(array('class' => 'boxcontent'), $table->show() . + $rules . html::p(null, $rcmail->output->button(array( 'command' => 'plugin.password-save', -- cgit v1.2.3 From 1a3132366e42a514ea9c471928eef8a63953125a Mon Sep 17 00:00:00 2001 From: Aleksander Machniak Date: Thu, 26 Jun 2014 10:42:56 +0200 Subject: After PR merge code cleanup --- plugins/password/password.php | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) (limited to 'plugins/password/password.php') diff --git a/plugins/password/password.php b/plugins/password/password.php index cdea0ab25..0db57afc6 100644 --- a/plugins/password/password.php +++ b/plugins/password/password.php @@ -227,20 +227,20 @@ class password extends rcube_plugin $table->add(null, $input_confpasswd->show()); $rules = ''; - + $required_length = intval($rcmail->config->get('password_minimum_length')); - if($required_length > 0) { + if ($required_length > 0) { $rules .= html::tag('li', array('id' => 'required-length'), $this->gettext(array( - 'name' => 'passwordshort', + 'name' => 'passwordshort', 'vars' => array('length' => $required_length) - ))); + ))); } - - if($rcmail->config->get('password_require_nonalpha')) { + + if ($rcmail->config->get('password_require_nonalpha')) { $rules .= html::tag('li', array('id' => 'require-nonalpha'), $this->gettext('passwordweak')); } - - if(!empty($rules)) { + + if (!empty($rules)) { $rules = html::tag('ul', array('id' => 'ruleslist'), $rules); } @@ -251,16 +251,16 @@ class password extends rcube_plugin html::p(null, $rcmail->output->button(array( 'command' => 'plugin.password-save', - 'type' => 'input', - 'class' => 'button mainaction', - 'label' => 'save' + 'type' => 'input', + 'class' => 'button mainaction', + 'label' => 'save' ))))); $rcmail->output->add_gui_object('passform', 'password-form'); return $rcmail->output->form_tag(array( - 'id' => 'password-form', - 'name' => 'password-form', + 'id' => 'password-form', + 'name' => 'password-form', 'method' => 'post', 'action' => './?_task=settings&_action=plugin.password-save', ), $out); -- cgit v1.2.3