Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Http Authentification for Symfony 1.4

branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

README.md

Installation

  1. Add this plugin to your project as Git submodules:

      $ git submodule add git://github.com/dator/sfHttpAuthPlugin.git plugins/sfHttpAuthPlugin
    
    1. Add this plugin to your ProjectConfiguration file:

      // config/ProjectConfiguration.class.php
      public function setup()
      {
          $this->enablePlugins(array(
              // ...
              'sfHttpAuthPlugin',
              // ...
          ));
      }
      
    2. edit your app.yml file

      // apps/frontend/config/app.yml
      all:
        auth:
          realm:      Password Required # The message
          username:   LOGIN # The password
          password:   PASSWD # The password
      
Something went wrong with that request. Please try again.