Added the secure logins for site.
removed htaccess in favor of a custom authentication. Most pages are linking to the secure login screen now. I added a minutes page to keep the meeting minutes. Successful logins.
This commit is contained in:
20
post/login.php
Normal file
20
post/login.php
Normal file
@@ -0,0 +1,20 @@
|
||||
<?php
|
||||
/**
|
||||
* Created by PhpStorm.
|
||||
* User: sean
|
||||
* Date: 10/29/17
|
||||
* Time: 6:59 PM
|
||||
*/
|
||||
require_once "../lib/prelude.inc.php";
|
||||
require_once "../lib/logins.inc.php";
|
||||
require_once "../lib/LoginController.php";
|
||||
|
||||
$controller = new LoginController($_GET,$_POST,$logins);
|
||||
|
||||
if($controller->validLogin()){
|
||||
|
||||
$_SESSION[LOGIN] = "We really out here.";
|
||||
}
|
||||
|
||||
header("Location: " . ROOT . $controller->getRedirect());
|
||||
|
||||
Reference in New Issue
Block a user