@@ -4,11 +4,9 @@ |
||
4 | 4 | |
5 | 5 | use Apps\ActiveRecord\Profile; |
6 | 6 | use Apps\ActiveRecord\User; |
7 | -use Apps\Model\Front\User\FormLogin; |
|
8 | 7 | use Ffcms\Core\App; |
9 | 8 | use Ffcms\Core\Arch\Model; |
10 | 9 | use Ffcms\Core\Helper\Type\Str; |
11 | -use Ffcms\Core\Interfaces\iUser; |
|
12 | 10 | |
13 | 11 | class FormRegister extends Model |
14 | 12 | { |
@@ -1,7 +1,5 @@ |
||
1 | 1 | <?php |
2 | 2 | use Ffcms\Core\Helper\HTML\Form; |
3 | -use Ffcms\Core\Helper\Type\Str; |
|
4 | -use Ffcms\Core\Helper\Url; |
|
5 | 3 | |
6 | 4 | /** @var $useCaptcha bool */ |
7 | 5 | /** @var $model \Apps\Model\Front\User\FormLogin */ |
@@ -20,8 +20,8 @@ discard block |
||
20 | 20 | const COMPRESS_QUALITY = 90; |
21 | 21 | |
22 | 22 | /** |
23 | - * Form text helper data with translation |
|
24 | - */ |
|
23 | + * Form text helper data with translation |
|
24 | + */ |
|
25 | 25 | public function labels() |
26 | 26 | { |
27 | 27 | return [ |
@@ -30,8 +30,8 @@ discard block |
||
30 | 30 | } |
31 | 31 | |
32 | 32 | /** |
33 | - * Validation rules for avatar uploading |
|
34 | - */ |
|
33 | + * Validation rules for avatar uploading |
|
34 | + */ |
|
35 | 35 | public function rules() |
36 | 36 | { |
37 | 37 | return [ |
@@ -44,8 +44,8 @@ |
||
44 | 44 | } |
45 | 45 | |
46 | 46 | /** |
47 | - * Parse user identifier to attributes |
|
48 | - */ |
|
47 | + * Parse user identifier to attributes |
|
48 | + */ |
|
49 | 49 | public function before() |
50 | 50 | { |
51 | 51 | // set unique user id from provider response |