@@ -9,13 +9,12 @@ |
||
9 | 9 | |
10 | 10 | defined('PH7') or exit('Restricted access'); |
11 | 11 | |
12 | -use |
|
13 | -PH7\Framework\Mvc\Model\DbConfig, |
|
14 | -PH7\Framework\Ip\Ip, |
|
15 | -PH7\Framework\Mvc\Router\Uri, |
|
16 | -PH7\Framework\Url\Header, |
|
17 | -PH7\Framework\Security\Security, |
|
18 | -PH7\Framework\Mvc\Model\Security as SecurityModel; |
|
12 | +use PH7\Framework\Mvc\Model\DbConfig; |
|
13 | +use PH7\Framework\Ip\Ip; |
|
14 | +use PH7\Framework\Mvc\Router\Uri; |
|
15 | +use PH7\Framework\Url\Header; |
|
16 | +use PH7\Framework\Security\Security; |
|
17 | +use PH7\Framework\Mvc\Model\Security as SecurityModel; |
|
19 | 18 | |
20 | 19 | class LoginFormProcess extends Form implements LoginableForm |
21 | 20 | { |
@@ -8,12 +8,11 @@ |
||
8 | 8 | namespace PH7; |
9 | 9 | defined('PH7') or exit('Restricted access'); |
10 | 10 | |
11 | -use |
|
12 | -PH7\Framework\Mvc\Model\DbConfig, |
|
13 | -PH7\Framework\Mvc\Router\Uri, |
|
14 | -PH7\Framework\Url\Header, |
|
15 | -PH7\Framework\Security\Security, |
|
16 | -PH7\Framework\Mvc\Model\Security as SecurityModel; |
|
11 | +use PH7\Framework\Mvc\Model\DbConfig; |
|
12 | +use PH7\Framework\Mvc\Router\Uri; |
|
13 | +use PH7\Framework\Url\Header; |
|
14 | +use PH7\Framework\Security\Security; |
|
15 | +use PH7\Framework\Mvc\Model\Security as SecurityModel; |
|
17 | 16 | |
18 | 17 | class LoginFormProcess extends Form implements LoginableForm |
19 | 18 | { |
@@ -11,7 +11,8 @@ |
||
11 | 11 | |
12 | 12 | namespace PH7; |
13 | 13 | |
14 | -use PH7\Framework\Registry\Registry, PH7\Framework\Ip\Ip; |
|
14 | +use PH7\Framework\Registry\Registry; |
|
15 | +use PH7\Framework\Ip\Ip; |
|
15 | 16 | |
16 | 17 | trait Api |
17 | 18 | { |
@@ -8,12 +8,11 @@ |
||
8 | 8 | namespace PH7; |
9 | 9 | defined('PH7') or exit('Restricted access'); |
10 | 10 | |
11 | -use |
|
12 | -PH7\Framework\Mvc\Model\DbConfig, |
|
13 | -PH7\Framework\Mvc\Router\Uri, |
|
14 | -PH7\Framework\Url\Header, |
|
15 | -PH7\Framework\Security\Security, |
|
16 | -PH7\Framework\Mvc\Model\Security as SecurityModel; |
|
11 | +use PH7\Framework\Mvc\Model\DbConfig; |
|
12 | +use PH7\Framework\Mvc\Router\Uri; |
|
13 | +use PH7\Framework\Url\Header; |
|
14 | +use PH7\Framework\Security\Security; |
|
15 | +use PH7\Framework\Mvc\Model\Security as SecurityModel; |
|
17 | 16 | |
18 | 17 | class LoginFormProcess extends Form implements LoginableForm |
19 | 18 | { |
@@ -9,7 +9,6 @@ |
||
9 | 9 | |
10 | 10 | use PH7\Framework\Layout\Html\Design; |
11 | 11 | use PH7\Framework\Mvc\Model\DbConfig; |
12 | -use PH7\Framework\Cache\Cache; |
|
13 | 12 | use PH7\Framework\Url\Header; |
14 | 13 | |
15 | 14 | class MainController extends Controller |