3f85ed05 by Kevin Burton

updated login with remember = false by default

1 parent cab1aff6
......@@ -54,7 +54,7 @@ const OPTION_NAME = 'tz_auth'; // Database lookup key (`wp_options`.`option_name
* @throws LogicException If headers have already been passed
* @throws InvalidArgumentException If the authentication is invalid
*/
function login($username, $password, $remember = true) {
function login($username, $password, $remember = false) {
if (headers_sent()) {
throw new LogicException('Unable to login because headers have been sent');
}
......