Toggle navigation
Toggle navigation
This project
Loading...
Sign in
fe
/
YOHOBUYPC
·
Commits
Go to a project
GitLab
Go to group
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
0
Merge Requests
2
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Email Patches
Plain Diff
Browse Files
Authored by
hf
9 years ago
Commit
c4503071b6b96d03b2a307ea8cc4f26fcf5308f6
1 parent
8803159f
fixes bug refs YW-1515 partner login
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
yohobuy/m.yohobuy.com/application/modules/Passport/controllers/Login.php
yohobuy/m.yohobuy.com/application/modules/Passport/controllers/Login.php
View file @
c450307
...
...
@@ -188,7 +188,7 @@ class LoginController extends AbstractAction
}
if
(
$result
[
'code'
]
==
200
&&
!
empty
(
$result
[
'data'
][
'uid'
]))
{
$this
->
setSession
(
'_TOKEN'
,
Helpers
::
makeToken
(
$
data
[
'data'
][
'uid'
]));
$this
->
setSession
(
'_TOKEN'
,
Helpers
::
makeToken
(
$
result
[
'data'
][
'uid'
]));
$this
->
go
(
Helpers
::
syncUserSession
(
$result
[
'data'
][
'uid'
],
$refer
));
}
else
{
$this
->
go
(
$refer
);
...
...
@@ -218,7 +218,7 @@ class LoginController extends AbstractAction
}
if
(
$result
[
'code'
]
==
200
&&
!
empty
(
$result
[
'data'
][
'uid'
]))
{
$this
->
setSession
(
'_TOKEN'
,
Helpers
::
makeToken
(
$
data
[
'data'
][
'uid'
]));
$this
->
setSession
(
'_TOKEN'
,
Helpers
::
makeToken
(
$
result
[
'data'
][
'uid'
]));
$this
->
go
(
Helpers
::
syncUserSession
(
$result
[
'data'
][
'uid'
],
$refer
));
}
else
{
$this
->
go
(
$refer
);
...
...
@@ -248,7 +248,7 @@ class LoginController extends AbstractAction
}
if
(
$result
[
'code'
]
==
200
&&
!
empty
(
$result
[
'data'
][
'uid'
]))
{
$this
->
setSession
(
'_TOKEN'
,
Helpers
::
makeToken
(
$
data
[
'data'
][
'uid'
]));
$this
->
setSession
(
'_TOKEN'
,
Helpers
::
makeToken
(
$
result
[
'data'
][
'uid'
]));
$this
->
go
(
Helpers
::
syncUserSession
(
$result
[
'data'
][
'uid'
],
$refer
));
}
else
{
$this
->
go
(
$refer
);
...
...
Please
register
or
login
to post a comment