Remove password hint on the login - since PR 7272 (#7273)

This commit is contained in:
Marc Farré 2024-10-23 09:25:20 +01:00 committed by GitHub
parent 57de74b2c1
commit 12973ab474
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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
*/