don't close the session when logging in
This commit is contained in:
parent
8a8001f14a
commit
5f4b2ca53f
|
@ -66,8 +66,8 @@ function userLogin( $username, $password='', $passwordHashed=false ) {
|
|||
$_SESSION['loginFailed'] = true;
|
||||
unset( $user );
|
||||
}
|
||||
if ( $cookies )
|
||||
session_write_close();
|
||||
//if ( $cookies )
|
||||
//session_write_close();
|
||||
}
|
||||
|
||||
function userLogout() {
|
||||
|
|
Loading…
Reference in New Issue