Changeset 7108


Ignore:
Timestamp:
04/06/10 16:08:46 (2 years ago)
Author:
GeorgeClark
Message:

Item1029: Change back to 200 for authentication failure.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/core/lib/Foswiki/LoginManager/TemplateLogin.pm

    r7107 r7108  
    190190        } 
    191191        else { 
    192             $session->{response}->status(403); 
     192            # Tasks:Item1029  After much discussion, the 403 code is not used for authentication failures. 
     193            # RFC states: "Authorization will not help and the request SHOULD NOT be repeated" which is not 
     194            # the situation here.   
     195            $session->{response}->status(200); 
    193196            $session->logEvent( 'login', $web . '.' . $topic, "AUTHENTICATION FAILURE - $loginName - " ); 
    194197            $banner = $session->templates->expandTemplate('UNRECOGNISED_USER'); 
Note: See TracChangeset for help on using the changeset viewer.