Development

Changeset 10126

You must first sign up to be able to contribute.

Changeset 10126

Show
Ignore:
Timestamp:
07/04/08 22:48:49 (5 months ago)
Author:
fabien
Message:

sfGuardPlugin: added sf_guard_plugin_signin_form configuration

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • plugins/sfGuardPlugin/branches/1.1/README

    r9768 r10126  
    367367  }}} 
    368368 
     369== Configure the signin form == 
     370 
     371You can change the signin form used by the `sfGuardAuth` module in `app.yml`: 
     372 
     373  {{{ 
     374    all: 
     375      sf_guard_plugin: 
     376        signin_form:    sfGuardFormSigninCustom 
     377  }}} 
     378 
    369379== TODO == 
    370380 
     
    378388=== 2.1.0-PRE === 
    379389 
     390  * fabien: added sf_guard_plugin_signin_form configuration 
    380391  * fabien: optimized getAllPermissions() number of database requests (#3238) 
    381392  * fabien: added the user object as a third parameter when calling the `app_sf_guard_plugin_check_password_callable` callable (#3231) 
  • plugins/sfGuardPlugin/branches/1.1/modules/sfGuardAuth/lib/BasesfGuardAuthActions.class.php

    r9768 r10126  
    2626    } 
    2727 
    28     $this->form = new sfGuardFormSignin(); 
     28    $class = sfConfig::get('app_sf_guard_plugin_signin_form', 'sfGuardFormSignin'); 
     29    $this->form = new $class(); 
    2930 
    3031    if ($request->isMethod('post'))