phpBB

Code Changes

File: phpbb/auth/provider/ldap.php

  Unmodified   Added   Modified   Removed
Line 289Line 289
	/**
* {@inheritdoc}
*/

	/**
* {@inheritdoc}
*/



 
	public function acp()
{
// These are fields required in the config table

	public function acp()
{
// These are fields required in the config table

Line 306Line 305
		return array(
'TEMPLATE_FILE' => 'auth_provider_ldap.html',
'TEMPLATE_VARS' => array(

		return array(
'TEMPLATE_FILE' => 'auth_provider_ldap.html',
'TEMPLATE_VARS' => array(

				'AUTH_LDAP_DN'			=> $new_config['ldap_base_dn'],

				'AUTH_LDAP_BASE_DN'		=> $new_config['ldap_base_dn'],

				'AUTH_LDAP_EMAIL'		=> $new_config['ldap_email'],

				'AUTH_LDAP_EMAIL'		=> $new_config['ldap_email'],

				'AUTH_LDAP_PASSORD'		=> $new_config['ldap_password'],

				'AUTH_LDAP_PASSORD'		=> $new_config['ldap_password'] !== '' ? '********' : '',

				'AUTH_LDAP_PORT'		=> $new_config['ldap_port'],
'AUTH_LDAP_SERVER' => $new_config['ldap_server'],
'AUTH_LDAP_UID' => $new_config['ldap_uid'],

				'AUTH_LDAP_PORT'		=> $new_config['ldap_port'],
'AUTH_LDAP_SERVER' => $new_config['ldap_server'],
'AUTH_LDAP_UID' => $new_config['ldap_uid'],