mirror of
https://github.com/fspc/biketree.git
synced 2026-09-16 14:31:36 -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:
+2
-2
@@ -15,8 +15,8 @@ global $cfg_membershipID;
|
||||
|
||||
if(!$sec->isLoggedIn())
|
||||
{
|
||||
// header ("location: ../login.php");
|
||||
// exit();
|
||||
header ("location: ../login.php");
|
||||
exit();
|
||||
}
|
||||
|
||||
?>
|
||||
|
||||
Reference in New Issue
Block a user