summaryrefslogtreecommitdiff
path: root/www/index.php
diff options
context:
space:
mode:
Diffstat (limited to 'www/index.php')
-rwxr-xr-xwww/index.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/www/index.php b/www/index.php
index 7dfb193..6378604 100755
--- a/www/index.php
+++ b/www/index.php
@@ -28,7 +28,8 @@ if(empty($_GET)){
if($_SERVER['REQUEST_METHOD'] == 'POST'){
$var = login($db);
if($var == LOGIN_SUCCESSFULL){
- account($db);
+ header("Refresh: 0; /".$_SESSION["username"]);
+ //account($db);
} else {
print_login($var);
}