Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
J
joyride phase2
Project
Overview
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
Jansa Jose
joyride phase2
Commits
caa468fa
Commit
caa468fa
authored
6 years ago
by
Jansa Jose
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' into 'dev_production'
email verify See merge request
!6
parents
0f2d0efc
8708f79d
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
Webservices.php
application/controllers/Webservices.php
+4
-0
No files found.
application/controllers/Webservices.php
View file @
caa468fa
...
...
@@ -125,9 +125,13 @@ header('Content-Type: text/html; charset=utf-8');
$result
=
$this
->
Webservice_model
->
login
(
$request
);
header
(
'Content-type: application/json'
);
if
(
$result
){
if
(
$result
[
'email_is_verified'
]
==
'1'
){
$result1
=
$this
->
Webservice_model
->
player_id_insert
(
$request
);
print
json_encode
(
array
(
'status'
=>
'success'
,
'message'
=>
'Login Successfully'
,
'data'
=>
$result
));
}
else
{
print
json_encode
(
array
(
'status'
=>
'error'
,
'message'
=>
'Email is not Verified. Please Verify'
));
}
}
else
{
print
json_encode
(
array
(
'status'
=>
'error'
,
'message'
=>
'Unknown Credential! Try Again'
,
'data'
=>
''
));
}
...
...
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