@@ -15,8 +15,6 @@ |
||
15 | 15 | use samsonphp\event\Event; |
16 | 16 | use samsonframework\orm\QueryInterface; |
17 | 17 | use samson\social\email\Email; |
18 | -use samson\core\URL; |
|
19 | -use samson\core\Core; |
|
20 | 18 | |
21 | 19 | /** |
22 | 20 | * Generic class for user sign in |
@@ -37,6 +37,9 @@ discard block |
||
37 | 37 | /** @var RequestInterface Request instance */ |
38 | 38 | protected $request; |
39 | 39 | |
40 | + /** |
|
41 | + * @param Email $social |
|
42 | + */ |
|
40 | 43 | public function authorize($social) |
41 | 44 | { |
42 | 45 | if (m('cms')->isCMS()) { |
@@ -193,7 +196,7 @@ discard block |
||
193 | 196 | * New password form. |
194 | 197 | * |
195 | 198 | * @param string $code Code password recovery |
196 | - * @return bool |
|
199 | + * @return null|false |
|
197 | 200 | */ |
198 | 201 | public function __confirm($code) |
199 | 202 | { |