summaryrefslogtreecommitdiff
path: root/www/functions/func_login.php
diff options
context:
space:
mode:
authorHorus32014-03-16 16:36:04 +0100
committerHorus32014-03-16 16:36:04 +0100
commita73cbd964b6d18937468537f04ca63c52c4c8210 (patch)
treeb57bbd9c1f4658a74b98f0c60fa2cc8c3e4477be /www/functions/func_login.php
parent09d24a3f321476ecdbbf10156fe724343a7d4084 (diff)
downloadfiles.iamfabulous.de-a73cbd964b6d18937468537f04ca63c52c4c8210.tar.gz
Fixed security issues.
Diffstat (limited to 'www/functions/func_login.php')
-rwxr-xr-xwww/functions/func_login.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/www/functions/func_login.php b/www/functions/func_login.php
index 86caf40..46bb6d0 100755
--- a/www/functions/func_login.php
+++ b/www/functions/func_login.php
@@ -45,10 +45,11 @@ function login($db){
return false;
}
} else {
- if(isset($_SESSION["login"])){
+ if($_SESSION["login"]){
header("Refresh: 0; /");
return false;
}
+
include("login.php");
return false;
}