rc/duallogin-wp-fos-bundle

Simultaneous login fosuserbundle and hypebeastwordpressbundle

dev-master 2013-03-09 01:45 UTC

This package is not auto-updated.

Last update: 2024-04-21 01:43:39 UTC


README

Con este plugin , cuando hagas login en el form de fosuserbundle automaticamente estaras logeado en el blog de wordpress, siempre que tanto usuarios de fos como usuarios de wp tengan las mismas credenciales user/pass

Installation

Step 1: Installation

php composer.phar require --no-update rc/duallogin-wp-fos-bundle 
php composer.phar update rc/duallogin-wp-fos-bundle 

Step 2: Enable the bundle

Enable the bundle in the kernel:

<?php
// app/AppKernel.php

public function registerBundles()
{
    $bundles = array(
        // ...

        new RC\DualLoginWPFOSBundle\RCDualLoginWPFOSBundle(),
    );
}

Configuration

The default configuration for the bundle looks like this:

#app/config/security.yml
security:
    ...
    firewalls:
        secured_area:
        ...
            duallogin: true
        ...