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 ...@@ -54,7 +54,7 @@ const OPTION_NAME = 'tz_auth'; // Database lookup key (`wp_options`.`option_name
54 * @throws LogicException If headers have already been passed 54 * @throws LogicException If headers have already been passed
55 * @throws InvalidArgumentException If the authentication is invalid 55 * @throws InvalidArgumentException If the authentication is invalid
56 */ 56 */
57 function login($username, $password, $remember = true) { 57 function login($username, $password, $remember = false) {
58 if (headers_sent()) { 58 if (headers_sent()) {
59 throw new LogicException('Unable to login because headers have been sent'); 59 throw new LogicException('Unable to login because headers have been sent');
60 } 60 }
......