Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
bugzilla
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
etersoft
bugzilla
Commits
a7a37db9
Commit
a7a37db9
authored
Nov 14, 2010
by
Max Kanat-Alexander
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Bug 611891: Don't generate cookies for logins done over GET via the WebService
r=glob, a=mkanat
parent
41c2692f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
1 deletion
+6
-1
Auth.pm
Bugzilla/Auth.pm
+6
-1
No files found.
Bugzilla/Auth.pm
View file @
a7a37db9
...
@@ -146,7 +146,12 @@ sub _handle_login_result {
...
@@ -146,7 +146,12 @@ sub _handle_login_result {
my
$fail_code
=
$result
->
{
failure
};
my
$fail_code
=
$result
->
{
failure
};
if
(
!
$fail_code
)
{
if
(
!
$fail_code
)
{
if
(
$self
->
{
_info_getter
}
->
{
successful
}
->
requires_persistence
)
{
# We don't persist logins over GET requests in the WebService,
# because the persistance information can't be re-used again.
# (See Bugzilla::WebService::Server::JSONRPC for more info.)
if
(
$self
->
{
_info_getter
}
->
{
successful
}
->
requires_persistence
and
!
Bugzilla
->
request_cache
->
{
auth_no_automatic_login
})
{
$self
->
{
_persister
}
->
persist_login
(
$user
);
$self
->
{
_persister
}
->
persist_login
(
$user
);
}
}
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment