don't close the session when logging in

This commit is contained in:
Isaac Connor committed 2017-12-18 14:35:11 -05:00
1 parent 8a8001f14a
commit 5f4b2ca53f
1 file changed
+2 -2
+2 -2
View File
@@ -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() {