Show
Ignore:
Timestamp:
02/11/10 17:34:27 (2 years ago)
Author:
gbastien
Message:

* Merged recent changes in the trunk into this branch
* New token architecture not yet fully functional, nor tested, but ...

  • can now edit token templates for different context of tokens (from the edit netork interface at the bottom of page)
  • Users connected through a wifidog gateway can view their connection token information
Files:
1 modified

Legend:

Unmodified
Added
Removed
  • branches/newtoken/wifidog/signup.php

    r1435 r1446  
    233233            // Make sure the user IDs match 
    234234            if(($created_user->getId() == $authenticated_user->getId())) { 
    235                 $token = $created_user->generateConnectionToken($mac); 
     235                $node = Node::getObjectByGatewayId($gw_id); 
     236                $network = $node->getNetwork(); 
     237                $token = Token::generateConnectionToken($mac, $network, $node, $created_user); 
    236238 
    237239                $redirURL = "http://" . $gw_address . ":" . $gw_port . "/wifidog/auth?token=" . $token;