Skip to content

Commit

Permalink
fix for #0007301: Login page inaccessible after upgrade to 1.0.4
Browse files Browse the repository at this point in the history
 - don't bypass login screen if current user is anonymous


git-svn-id: http://mantisbt.svn.sourceforge.net/svnroot/mantisbt/branches/BRANCH_1_0_0@4118 f5dc347c-c33d-0410-90a0-b07cc1902cb9
  • Loading branch information
thraxisp committed Jul 24, 2006
1 parent 3eb2d2d commit aca5a38
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions login_page.php
Expand Up @@ -6,15 +6,15 @@
# See the README and LICENSE files for details

# --------------------------------------------------------
# $Id: login_page.php,v 1.52.4.1.6.1 2006-07-22 20:03:00 vboctor Exp $
# $Id: login_page.php,v 1.52.4.1.6.2 2006-07-24 01:22:25 thraxisp Exp $
# --------------------------------------------------------

# Login page POSTs results to login.php
# Check to see if the user is already logged in

require_once( 'core.php' );

if ( auth_is_user_authenticated() ) {
if ( auth_is_user_authenticated() && !current_user_is_anonymous() ) {
print_header_redirect( config_get( 'default_home_page' ) );
}

Expand Down

0 comments on commit aca5a38

Please sign in to comment.