aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/auth/auth_ldap.php
diff options
context:
space:
mode:
authorMeik Sievertsen <acydburn@phpbb.com>2009-06-20 18:45:16 +0000
committerMeik Sievertsen <acydburn@phpbb.com>2009-06-20 18:45:16 +0000
commit433de350c0fa2e1e09c23e6f5f29f118222d2df8 (patch)
tree25e43220f961118c26112aa08a858d7ab4f6c065 /phpBB/includes/auth/auth_ldap.php
parent0d626d77bfaebb7e7e281e963b486911470f0992 (diff)
downloadforums-433de350c0fa2e1e09c23e6f5f29f118222d2df8.tar
forums-433de350c0fa2e1e09c23e6f5f29f118222d2df8.tar.gz
forums-433de350c0fa2e1e09c23e6f5f29f118222d2df8.tar.bz2
forums-433de350c0fa2e1e09c23e6f5f29f118222d2df8.tar.xz
forums-433de350c0fa2e1e09c23e6f5f29f118222d2df8.zip
- [Feature] New &quot;Newly Registered Users&quot; group for assigning permissions to newly registered users. They will be removed from this group once they reach a defineable amount of posts.
- [Feature] Ability to define if the &quot;Newly Registered Users&quot; group will be assigned as the default group to newly registered users. As a coincidence also Bug #46535 got fixed. Additionally the error message displayed with trigger_error() if accessing the private message tab in the ucp is now displayed inline in addition to a slightly different message for newly registered users to let them know that access permissions may be lifted over time. git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@9636 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/includes/auth/auth_ldap.php')
-rw-r--r--phpBB/includes/auth/auth_ldap.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/phpBB/includes/auth/auth_ldap.php b/phpBB/includes/auth/auth_ldap.php
index d49662fb2d..11c62ad0bc 100644
--- a/phpBB/includes/auth/auth_ldap.php
+++ b/phpBB/includes/auth/auth_ldap.php
@@ -227,6 +227,7 @@ function login_ldap(&$username, &$password)
'group_id' => (int) $row['group_id'],
'user_type' => USER_NORMAL,
'user_ip' => $user->ip,
+ 'user_new' => ($config['new_member_post_limit']) ? 1 : 0,
);
unset($ldap_result);