/** * @inheritdoc */ public function attributes() { return ArrayHelper::merge(parent::attributes(), ['sendNotification', 'newPassword', 'newPasswordConfirmation', 'generateRandomPassword', 'roles']); }