Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
brainfood
/
ofbiz-directcontrolservlet
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Graphs
Network
Create a new issue
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
79215975
authored
2014-06-17 16:46:35 -0500
by
Ean Schuessler
Browse Files
Options
Browse Files
Tag
Download
Plain Diff
Merge branch 'BF-3199' of /home/git/repositories/brainfood/ofbiz-directcontrolservlet
2 parents
0e66cc15
d5a902c6
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletions
src/com/brainfood/ofbiz/DirectControlServlet.java
src/com/brainfood/ofbiz/DirectControlServlet.java
View file @
7921597
...
...
@@ -172,10 +172,13 @@ public class DirectControlServlet extends HttpServlet {
String
authToken
=
request
.
getParameter
(
"sessionId"
);
if
(
authToken
!=
null
)
{
GenericValue
authTokenEntity
=
EntityUtil
.
getFirst
(
EntityUtil
.
filterByDate
(
delegator
.
findList
(
"Visit"
,
EntityCondition
.
makeCondition
(
"cookie"
,
EntityOperator
.
EQUALS
,
authToken
),
null
,
null
,
null
,
true
));
null
,
null
,
null
,
true
)
)
);
if
(
authTokenEntity
!=
null
&&
authTokenEntity
.
get
(
"userLoginId"
)
!=
null
)
{
...
...
Please
register
or
sign in
to post a comment