private function setUserData($property, $value)
    {
        $auth = $this->authFactory->newInstance();
        $userData = $auth->getUserData();
        if(!$userData) {
            return;
        }
        $userData[$property] = $value;
        $auth->setUserData($userData);
    }
private function setUserData($property, $value)
    {
        $auth = $this->authFactory->newInstance();
        $userData = $auth->getUserData();
        if(!$userData) {
            return;
        }
        $userData[$property] = $value;
        $auth->setUserData($userData);
    }
private function setUserData ( $ property , $ value ) { $ auth = $ this -> authFactory -> newInstance ( ) ; $ userData = $ auth -> getUserData ( ) ; if ( ! $ userData ) { return ; } $ userData [ $ property ] = $ value ; $ auth -> setUserData ( $ userData ) ; }
Sets a property for current user
Sets a property for current user