|
|
@@ -19,9 +19,7 @@ class AccountManager {
|
|
|
|
|
|
public function __construct() {
|
|
|
$this->model = lm('account', 'Commons');
|
|
|
- echo 1;
|
|
|
-// $this->repository = new AccountRepository();
|
|
|
- echo 2;
|
|
|
+ $this->repository = new AccountRepository();
|
|
|
}
|
|
|
|
|
|
/**
|
|
|
@@ -33,7 +31,6 @@ class AccountManager {
|
|
|
*/
|
|
|
public function login($account, $password) {
|
|
|
|
|
|
- echo 3;
|
|
|
$password = trim($password);
|
|
|
$account = strtolower(trim($account));
|
|
|
define("OVERTIME", 1800);
|