# HG changeset patch # User Dan # Date 1250876985 14400 # Node ID 16a1e8626dd9a4a167149f380d565754ad758b14 # Parent 3b25a59dacd1b8c0a6b6150b13cc4acec770851c User ACP: redirect to Special:Login on own account deletion diff -r 3b25a59dacd1 -r 16a1e8626dd9 includes/sessions.php --- a/includes/sessions.php Fri Aug 21 13:48:48 2009 -0400 +++ b/includes/sessions.php Fri Aug 21 13:49:45 2009 -0400 @@ -835,7 +835,10 @@ 'success' => false, 'error' => 'too_big_for_britches' ); + + // grant session $sess = $this->register_session($row['user_id'], $username, ( isset($password_hmac) ? $password_hmac : $password ), $level, $remember); + if($sess) { if($level > USER_LEVEL_MEMBER) diff -r 3b25a59dacd1 -r 16a1e8626dd9 plugins/admin/UserManager.php --- a/plugins/admin/UserManager.php Fri Aug 21 13:48:48 2009 -0400 +++ b/plugins/admin/UserManager.php Fri Aug 21 13:49:45 2009 -0400 @@ -59,6 +59,24 @@ if ( !$q ) $db->_die(); echo '