Changeset 1524


Ignore:
Timestamp:
Aug 2, 2006, 11:19:15 PM (18 years ago)
Author:
nikrou
Message:

fix bug 451:
password.php and register.php must be accessible when user is guest
even if guest user is not allowed.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/user.inc.php

    r1522 r1524  
    6767
    6868if ($user['is_the_guest'] and !$conf['guest_access']
    69     and (basename($_SERVER['PHP_SELF'])!='identification.php'))
     69    and (basename($_SERVER['PHP_SELF'])!='identification.php')
     70    and (basename($_SERVER['PHP_SELF'])!='password.php')
     71    and (basename($_SERVER['PHP_SELF'])!='register.php'))
    7072{
    7173  redirect (get_root_url().'identification.php');
Note: See TracChangeset for help on using the changeset viewer.