Changeset 718

Show
Ignore:
Timestamp:
09/07/05 22:22:15 (8 years ago)
Author:
benoitg
Message:

2005-09-07 Benoit Gr�goire <bock@…>

  • login/index.php: Fix getSplashOnlyUser() method call.
Location:
trunk/wifidog-auth
Files:
5 modified

Legend:

Unmodified
Added
Removed
  • trunk/wifidog-auth/ChangeLog

    r717 r718  
     12005-09-07 Benoit Grégoire  <bock@step.polymtl.ca> 
     2        * login/index.php:  Fix getSplashOnlyUser() method call. 
     3 
    142005-09-07 Benoit Grégoire  <bock@step.polymtl.ca> 
    25        * RssPressReview.php:  Fix z-index so the hovers will overlap the expanded news. 
  • trunk/wifidog-auth/wifidog/auth/index.php

    r717 r718  
    8787                        if ($_REQUEST['stage'] == STAGE_LOGOUT) 
    8888                        { 
    89                                 $authenticator->logout($info); 
     89                                $authenticator->logout($info['conn_id']); 
    9090                                $auth_message .= "| User is now logged out. "; 
    9191                        } 
  • trunk/wifidog-auth/wifidog/classes/AuthenticatorLocalUser.php

    r717 r718  
    100100 
    101101        /** Logs out the user */ 
    102         function logout($info, & $errmsg = null) 
     102        function logout($conn_id, & $errmsg = null) 
    103103        { 
    104                 $this->acctStop($info); 
     104                $this->acctStop($conn_id); 
    105105                return true; 
    106106        } 
  • trunk/wifidog-auth/wifidog/classes/AuthenticatorRadius.php

    r717 r718  
    197197 
    198198        /** Logs out the user */ 
    199         function logout($info, & $errmsg = null) 
     199        function logout($conn_id, & $errmsg = null) 
    200200        { 
    201201                // RADIUS logout actually means to stop accounting 
    202                 return $this->acctStop($info); 
     202                return $this->acctStop($conn_id); 
    203203        } 
    204204 
  • trunk/wifidog-auth/wifidog/login/index.php

    r717 r718  
    8282if($node && $node->isSplashOnly()) 
    8383{ 
    84         $user = getSplashOnlyUser(); 
     84        $user = $network-> getSplashOnlyUser(); 
    8585        $token = $user->generateConnectionToken(); 
    8686        User::setCurrentUser($user);