Development

Changeset 6066

You must first sign up to be able to contribute.

Changeset 6066

Show
Ignore:
Timestamp:
11/16/07 15:43:22 (1 year ago)
Author:
fabien
Message:

fixed HTTP status code for secure (403) and signin (401) actions (closes #2545)

Files:

Legend:

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

    r6018 r6066  
    339339 
    340340=== 1.1.14 PRE === 
     341 
     342 * fabien: fixed HTTP status code for secure (403) and signin (401) actions (#2545) 
    341343 
    342344=== 1.1.13 === 
  • plugins/sfGuardPlugin/modules/sfGuardAuth/lib/BasesfGuardAuthActions.class.php

    r6065 r6066  
    4646        $this->redirect($module.'/'.sfConfig::get('sf_login_action')); 
    4747      } 
     48      else 
     49      { 
     50        $this->getResponse()->setStatusCode(401); 
     51      } 
    4852    } 
    4953  } 
     
    6064  public function executeSecure() 
    6165  { 
     66    $this->getResponse()->setStatusCode(403); 
    6267  } 
    6368