Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
G
gameauth
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
sucssite
gameauth
Compare revisions
7b847726015f6856edfe55fa84db98f999760aa7 to 36d7306c33ecc2a7f0fe7a1a63fbba25fad81dc1
Compare revisions
Changes are shown as if the
source
revision was being merged into the
target
revision.
Learn more about comparing revisions.
Source
sucssite/gameauth
Select target project
No results found
36d7306c33ecc2a7f0fe7a1a63fbba25fad81dc1
Select Git revision
Swap
Target
sucssite/gameauth
Select target project
sucssite/gameauth
ripp_/gameauth
2 results
7b847726015f6856edfe55fa84db98f999760aa7
Select Git revision
Show changes
Only incoming changes from source
Include changes to target since source was created
Compare
Commits on Source (2)
Fix horrible bug.
· b4b2b37b
Imran Hussain
authored
8 years ago
strtolower what though?
b4b2b37b
Fix what I think was a bad copy paste job
· 36d7306c
Imran Hussain
authored
8 years ago
36d7306c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
controll_2.php
+2
-2
2 additions, 2 deletions
controll_2.php
with
2 additions
and
2 deletions
controll_2.php
View file @
36d7306c
...
@@ -115,7 +115,7 @@
...
@@ -115,7 +115,7 @@
array_pop
(
$s
);
array_pop
(
$s
);
$username
=
implode
(
"@"
,
$s
);
$username
=
implode
(
"@"
,
$s
);
}
}
$username
=
strtolower
();
$username
=
strtolower
(
$username
);
$authResult
=
authCheck
(
$authd
,
$username
);
$authResult
=
authCheck
(
$authd
,
$username
);
//If they gave a good login
//If they gave a good login
...
@@ -125,7 +125,7 @@
...
@@ -125,7 +125,7 @@
$cip
=
$_SERVER
[
'REMOTE_ADDR'
];
$cip
=
$_SERVER
[
'REMOTE_ADDR'
];
$time
=
time
();
$time
=
time
();
sqlite3Exec
(
"DELET FROM gamers WHERE username='
$username
'"
);
sqlite3Exec
(
"DELET FROM gamers WHERE username='
$username
'"
);
sqlite3Exec
(
"INSERT INTO gamers (username,sessionid,IP,authd,lastseen) VALUES ('
$
authdUser
','
$sessionid
','
$cip
','
$authd
','
$time
')"
);
sqlite3Exec
(
"INSERT INTO gamers (username,sessionid,IP,authd,lastseen) VALUES ('
$
username
','
$sessionid
','
$cip
','
$authd
','
$time
')"
);
}
}
//Return the authResult
//Return the authResult
...
...
This diff is collapsed.
Click to expand it.