@@ -86,7 +86,7 @@ discard block |
||
| 86 | 86 | /** |
| 87 | 87 | * Signs user up. |
| 88 | 88 | * |
| 89 | - * @return mixed |
|
| 89 | + * @return string |
|
| 90 | 90 | */ |
| 91 | 91 | public function actionSignup() |
| 92 | 92 | { |
@@ -123,7 +123,7 @@ discard block |
||
| 123 | 123 | /** |
| 124 | 124 | * Requests password reset. |
| 125 | 125 | * |
| 126 | - * @return mixed |
|
| 126 | + * @return string |
|
| 127 | 127 | */ |
| 128 | 128 | public function actionRequestPasswordReset() |
| 129 | 129 | { |
@@ -145,7 +145,7 @@ discard block |
||
| 145 | 145 | * Resets password. |
| 146 | 146 | * |
| 147 | 147 | * @param string $token |
| 148 | - * @return mixed |
|
| 148 | + * @return string |
|
| 149 | 149 | * @throws BadRequestHttpException |
| 150 | 150 | */ |
| 151 | 151 | public function actionResetPassword($token) |
@@ -3,19 +3,19 @@ |
||
| 3 | 3 | namespace modules\users\controllers\frontend; |
| 4 | 4 | |
| 5 | 5 | use Yii; |
| 6 | -use yii\web\Controller; |
|
| 7 | 6 | use common\components\helpers\Helpers; |
| 8 | -use modules\users\models\User; |
|
| 9 | -use modules\users\models\SignupForm; |
|
| 10 | -use modules\users\models\LoginForm; |
|
| 7 | +use modules\users\Module; |
|
| 11 | 8 | use modules\users\models\EmailConfirmForm; |
| 12 | -use modules\users\models\ResetPasswordForm; |
|
| 9 | +use modules\users\models\LoginForm; |
|
| 13 | 10 | use modules\users\models\PasswordResetRequestForm; |
| 11 | +use modules\users\models\ResetPasswordForm; |
|
| 12 | +use modules\users\models\SignupForm; |
|
| 13 | +use modules\users\models\User; |
|
| 14 | 14 | use yii\base\InvalidParamException; |
| 15 | -use yii\web\BadRequestHttpException; |
|
| 16 | 15 | use yii\filters\VerbFilter; |
| 16 | +use yii\web\BadRequestHttpException; |
|
| 17 | +use yii\web\Controller; |
|
| 17 | 18 | use yii\web\NotFoundHttpException; |
| 18 | -use modules\users\Module; |
|
| 19 | 19 | |
| 20 | 20 | /** |
| 21 | 21 | * Class DefaultController |
@@ -3,16 +3,16 @@ |
||
| 3 | 3 | namespace modules\users\controllers\frontend; |
| 4 | 4 | |
| 5 | 5 | use Yii; |
| 6 | -use yii\web\Controller; |
|
| 7 | 6 | use common\components\helpers\Helpers; |
| 8 | -use modules\users\models\User; |
|
| 9 | 7 | use modules\rbac\models\Assignment; |
| 8 | +use modules\users\Module; |
|
| 9 | +use modules\users\models\User; |
|
| 10 | +use yii\bootstrap\ActiveForm; |
|
| 10 | 11 | use yii\filters\AccessControl; |
| 11 | 12 | use yii\filters\VerbFilter; |
| 13 | +use yii\web\Controller; |
|
| 12 | 14 | use yii\web\NotFoundHttpException; |
| 13 | -use yii\bootstrap\ActiveForm; |
|
| 14 | 15 | use yii\web\Response; |
| 15 | -use modules\users\Module; |
|
| 16 | 16 | |
| 17 | 17 | /** |
| 18 | 18 | * Class ProfileController |