Skip to content

[experimental] A bundle to allow tenanted auth users.

Notifications You must be signed in to change notification settings

SwipeAndTap/AuthBundle

 
 

Repository files navigation

Viva IT - Authentication Bundle

Installation

###Using composer

$ composer require vivait/auth-bundle

###Enabling bundle

<?php
// app/AppKernel.php

public function registerBundles()
{
    $bundles = array(
        // ...
        new Vivait\AuthBundle\VivaitAuthBundle()
    );
}

###Add routing rules Add the routing to your app\config\routing.yml file:

vivait_auth:
    resource: "@VivaitAuthBundle/Resources/config/routing.yml"
    prefix:   /

###Add the security rules Replace the contents of your app/config/security.yml with the contents of security.yml.

In your new security.yml, change the following config option to be the route of your application homepage:

    firewalls:
        secured_area:
            form_login:
                default_target_path: viva_app_homepage

About

[experimental] A bundle to allow tenanted auth users.

Resources

Stars

Watchers

Forks

Packages

No packages published