public function getEnableLoginAttributeRules()
    {
        return $this->seperateLoginAttribute && is_string($this->seperateLoginAttribute) && !empty($this->seperateLoginAttribute) ? [
            [[$this->seperateLoginAttribute], 'boolean'],
            [[$this->seperateLoginAttribute], 'default', 'value' => true],
            ] : [];
    }
public function getEnableLoginAttributeRules()
    {
        return $this->seperateLoginAttribute && is_string($this->seperateLoginAttribute) && !empty($this->seperateLoginAttribute) ? [
            [[$this->seperateLoginAttribute], 'boolean'],
            [[$this->seperateLoginAttribute], 'default', 'value' => true],
            ] : [];
    }
public function getEnableLoginAttributeRules ( ) { return $ this -> seperateLoginAttribute && is_string ( $ this -> seperateLoginAttribute ) && ! empty ( $ this -> seperateLoginAttribute ) ? [ [ [ $ this -> seperateLoginAttribute ] , 'boolean' ] , [ [ $ this -> seperateLoginAttribute ] , 'default' , 'value' => true ] , ] : [ ] ; }
Get rules associated with enable login attribute.
If enable login feature by this additional account, it will return the rules
with true by default.
@return array rules.
Get rules associated with enable login attribute . If enable login feature by this additional account it will return the rules with true by default .