mirror of
https://github.com/fspc/biketree.git
synced 2025-04-04 10:03:23 -04:00
Turns security back on in the members directory
This is so non-logged in people can't alter the database. Mark Leigh pointed this out to me when sending me the code, and said "Can't remember why it ended up like this, the auth code is there but commented out."
This commit is contained in:
parent
e7f0785da6
commit
44c169073e
@ -15,8 +15,8 @@ global $cfg_membershipID;
|
|||||||
|
|
||||||
if(!$sec->isLoggedIn())
|
if(!$sec->isLoggedIn())
|
||||||
{
|
{
|
||||||
//header ("location: ../login.php");
|
header ("location: ../login.php");
|
||||||
//exit();
|
exit();
|
||||||
}
|
}
|
||||||
|
|
||||||
?>
|
?>
|
||||||
|
@ -15,8 +15,8 @@ global $cfg_membershipID;
|
|||||||
|
|
||||||
if(!$sec->isLoggedIn())
|
if(!$sec->isLoggedIn())
|
||||||
{
|
{
|
||||||
// header ("location: ../login.php");
|
header ("location: ../login.php");
|
||||||
// exit();
|
exit();
|
||||||
}
|
}
|
||||||
|
|
||||||
?>
|
?>
|
||||||
|
@ -15,8 +15,8 @@ global $cfg_membershipID;
|
|||||||
|
|
||||||
if(!$sec->isLoggedIn())
|
if(!$sec->isLoggedIn())
|
||||||
{
|
{
|
||||||
// header ("location: ../login.php");
|
header ("location: ../login.php");
|
||||||
// exit();
|
exit();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@ -24,8 +24,8 @@ global $cfg_membershipID;
|
|||||||
|
|
||||||
if(!$sec->isLoggedIn())
|
if(!$sec->isLoggedIn())
|
||||||
{
|
{
|
||||||
// header ("location: ../login.php");
|
header ("location: ../login.php");
|
||||||
// exit();
|
exit();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@ -15,8 +15,8 @@ global $cfg_membershipID;
|
|||||||
|
|
||||||
if(!$sec->isLoggedIn())
|
if(!$sec->isLoggedIn())
|
||||||
{
|
{
|
||||||
// header ("location: ../login.php");
|
header ("location: ../login.php");
|
||||||
// exit();
|
exit();
|
||||||
}
|
}
|
||||||
|
|
||||||
?>
|
?>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user