Changeset 1412

Show
Ignore:
Timestamp:
07/30/09 13:23:14 (3 years ago)
Author:
benoitg
Message:
  • Send denied event to the gateway if the token isn't found, but not because of a SQL error.
Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/wifidog-auth/wifidog/auth/index.php

    r1411 r1412  
    6868else { 
    6969    $auth_message .= "| Error: no connection token provided. "; 
    70     $auth_response = ACCOUNT_STATUS_ERROR; 
     70    $auth_response = ACCOUNT_STATUS_DENIED; 
    7171} 
    7272 
     
    189189{ 
    190190    $auth_message .= "| Error: couldn't find the requested token: $token. "; 
    191     $auth_response = ACCOUNT_STATUS_ERROR; 
     191    $auth_response = ACCOUNT_STATUS_DENIED; 
    192192} 
    193193