mirror of
https://github.com/humhub/humhub.git
synced 2025-01-17 14:18:27 +01:00
Remove password hint on the login - since PR 7272 (#7273)
This commit is contained in:
parent
57de74b2c1
commit
12973ab474
@ -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
|
||||
*/
|
||||
|
Loading…
x
Reference in New Issue
Block a user