'yii\base\InvalidConfigException' with message 'Invalid CAPTCHA action ID:
纠结的问题最后只是选择了默认的配置上代码:model:publicfunctionrules(){return[['username','filter','filter'=>'trim'],['username','required'],['username','unique','targetClass'=>'\common\models\Adminuser','message'=>'用户名已经存