Fix redirect when already logged in.

git-svn-id: https://develop.svn.wordpress.org/trunk@3391 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Ryan Boren 2006-01-02 08:46:13 +00:00
parent fce486c48c
commit de9f6698c2
1 changed files with 1 additions and 1 deletions

View File

@ -188,7 +188,7 @@ default:
do_action('wp_authenticate', array(&$user_login, &$user_pass));
if ( $_POST ) {
if ( $user_login && $user_pass ) {
$user = new WP_User(0, $user_login);
// If the user can't edit posts, send them to their profile.