Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
Tenzing
/
Tz Tools
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
3f85ed05
authored
2011-03-21 01:29:40 +0000
by
Kevin Burton
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
updated login with remember = false by default
1 parent
cab1aff6
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
com/Auth/Auth.php
com/Auth/Auth.php
View file @
3f85ed0
...
...
@@ -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
=
tru
e
)
{
function
login
(
$username
,
$password
,
$remember
=
fals
e
)
{
if
(
headers_sent
())
{
throw
new
LogicException
(
'Unable to login because headers have been sent'
);
}
...
...
Please
register
or
sign in
to post a comment