email required
This commit is contained in:
parent
f90a70811e
commit
ddd14e436c
@ -4,7 +4,6 @@ use common\classes\Debug;
|
||||
use kartik\select2\Select2;
|
||||
use mihaildev\elfinder\InputFile;
|
||||
use unclead\multipleinput\MultipleInput;
|
||||
use unclead\multipleinput\examples\models\ExampleModel;
|
||||
use yii\helpers\Html;
|
||||
use yii\widgets\ActiveForm;
|
||||
|
||||
|
@ -65,7 +65,7 @@ class UserCard extends \yii\db\ActiveRecord
|
||||
public function rules()
|
||||
{
|
||||
return [
|
||||
[['fio', 'status', 'gender'], 'required'],
|
||||
[['fio', 'status', 'gender', 'email'], 'required'],
|
||||
[['gender', 'status', 'position_id', 'id_user'], 'integer'],
|
||||
[['dob', 'created_at', 'updated_at', 'deleted_at'], 'safe'],
|
||||
[['fio', 'passport', 'photo', 'email', 'resume', 'city'], 'string', 'max' => 255],
|
||||
|
Loading…
Reference in New Issue
Block a user