repositories
/
Project_webapp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix the authenfication check.
[Project_webapp.git]
/
lib
/
utils.php
diff --git
a/lib/utils.php
b/lib/utils.php
index bc5db9b6a6026aed5173b9083f60d3b89f7e651d..786c10e01cba770cdbd0b1e8bdcb69c4fbe32e5b 100644
(file)
--- a/
lib/utils.php
+++ b/
lib/utils.php
@@
-53,7
+53,7
@@
function chk_password($email, $password)
function chk_logged_in()
{
- if (isset($_SESSION['email'])) {
+ if (isset($_SESSION['email'])
&& isset($_SESSION['IP_address'])
) {
return true;
} else {
return false;