Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
S
SooonerHotel
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
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
吴贤德
SooonerHotel
Commits
47c3829b
Commit
47c3829b
authored
5 years ago
by
吴贤德
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
登陆账号密码需验证status
parent
c751edcf
No related merge requests found
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
LoginAction.class.php
SooonerHotel/App/Lib/Action/LoginAction.class.php
+2
-0
No files found.
SooonerHotel/App/Lib/Action/LoginAction.class.php
View file @
47c3829b
...
...
@@ -31,6 +31,7 @@ class LoginAction extends Action{
if
(
$this
->
check_code
(
$code
))
{
$where
[
'account'
]
=
$username
;
$where
[
'password'
]
=
$password
;
$where
[
'status'
]
=
1
;
$r
=
$UserModel
->
where
(
$where
)
->
find
();
if
(
$r
)
{
$this
->
remove_limit
();
...
...
@@ -144,6 +145,7 @@ class LoginAction extends Action{
$where
[
'account'
]
=
$username
;
$where
[
'password'
]
=
$password
;
$where
[
'status'
]
=
1
;
$r
=
$UserModel
->
where
(
$where
)
->
find
();
if
(
$r
)
{
//验证GA
...
...
This diff is collapsed.
Click to expand it.
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