summaryrefslogtreecommitdiff
path: root/admin
diff options
context:
space:
mode:
authorspider@dev <spiderr@bitweaver.org>2016-09-05 13:15:29 -0400
committerspider@dev <spiderr@bitweaver.org>2016-09-05 13:15:29 -0400
commitcd0e2ec2db3ddc4ea2f83c4040e979eb11869728 (patch)
tree480c4b6368431728a21b39c830d33aa2961efdca /admin
parent225a8fdf298d9b4e5c3dc5e614eca1496ad95314 (diff)
downloadusers-cd0e2ec2db3ddc4ea2f83c4040e979eb11869728.tar.gz
users-cd0e2ec2db3ddc4ea2f83c4040e979eb11869728.tar.bz2
users-cd0e2ec2db3ddc4ea2f83c4040e979eb11869728.zip
clean up user group assigning; remove all users_clear_passwords feature references
Diffstat (limited to 'admin')
-rw-r--r--admin/admin_login_inc.php5
-rw-r--r--admin/assign_user.php1
-rw-r--r--admin/schema_inc.php1
3 files changed, 1 insertions, 6 deletions
diff --git a/admin/admin_login_inc.php b/admin/admin_login_inc.php
index 0ba9dbc..dda7503 100644
--- a/admin/admin_login_inc.php
+++ b/admin/admin_login_inc.php
@@ -52,11 +52,6 @@ $loginSettings = array(
'type' => "text",
'note' => "",
),
- 'users_clear_passwords' => array(
- 'label' => "Store plaintext passwords",
- 'type' => "checkbox",
- 'note' => "Passwords will be visible in the database. If a user requests a password, their password will *not* be reset and simply emailed to them in plain text. This option is less secure, but better suited to sites with a wide variety of users.",
- ),
'users_case_sensitive_login' => array(
'label' => 'Case-Sensitive Login',
'type' => "checkbox",
diff --git a/admin/assign_user.php b/admin/assign_user.php
index 5b46de4..b493217 100644
--- a/admin/assign_user.php
+++ b/admin/assign_user.php
@@ -15,6 +15,7 @@ if (!$gBitUser->userExists( array( 'user_id' => $_REQUEST["assign_user"] ) ) ) {
}
$assignUser = new BitPermUser( $_REQUEST["assign_user"] );
+$assignUser->setCacheableObject( FALSE );
$assignUser->load( TRUE );
if( $assignUser->isAdmin() && !$gBitUser->isAdmin() ) {
diff --git a/admin/schema_inc.php b/admin/schema_inc.php
index f59d125..9ff01e2 100644
--- a/admin/schema_inc.php
+++ b/admin/schema_inc.php
@@ -291,7 +291,6 @@ $gBitInstaller->registerPreferences( USERS_PKG_NAME, array(
//array(USERS_PKG_NAME,'users_validate_user','n'),
//array(USERS_PKG_NAME,'users_validate_email','n'),
array(USERS_PKG_NAME,'users_min_pass_length','4'),
- //array(USERS_PKG_NAME,'users_clear_passwords','n'),
//array(USERS_PKG_NAME,'users_custom_home','n'),
//array(USERS_PKG_NAME,'user_bookmarks','n'),
//array(USERS_PKG_NAME,'feature_tasks','n'),