blob: 5b655d64e5a2714db28a59749bec1b36d56cbf99 (
plain) (
tree)
|
|
<?php
require_once "model/common.mod.php";
require_once "class/user.class.php";
class AuthModel extends CommonModel
{
/*
* Default action
*/
function deflt()
{
/* Make sure user accounts exist since this is preping the page to login. If there are no accounts in the DB,
* return false to signal controller to display the admin account creation */
$userTbl = new User();
if (count($userTbl->getAllUsers_orderByName()) == 0)
return false;
return true;
}
/*
* Initial signup action
*/
function initialSignup()
{
$this->noaccounts = true;
}
/*
* Signup action
*/
function signup()
{
}
}
?>
|