diff --git a/protected/humhub/modules/user/models/forms/Login.php b/protected/humhub/modules/user/models/forms/Login.php index b8ee3b8192..09332343a2 100644 --- a/protected/humhub/modules/user/models/forms/Login.php +++ b/protected/humhub/modules/user/models/forms/Login.php @@ -5,7 +5,6 @@ namespace humhub\modules\user\models\forms; use humhub\modules\user\assets\UserAsset; use humhub\modules\user\authclient\BaseClient; use humhub\modules\user\authclient\BaseFormAuth; -use humhub\modules\user\Module; use Yii; use yii\base\Model; @@ -67,18 +66,6 @@ class Login extends Model ]; } - /** - * @inerhitdoc - */ - public function attributeHints() - { - /* @var $module Module */ - $module = Yii::$app->getModule('user'); - $passwordHint = $module->getPasswordHint(); - - return $passwordHint ? ['password' => $passwordHint] : []; - } - /** * Validation */