Changeset 1408

Show
Ignore:
Timestamp:
07/22/09 10:30:04 (3 years ago)
Author:
benoitg
Message:

*Correct really stupid bug I probably introduced in late night bug fixing. Symptom was that an error was always triggered when a user would sign-in from an actual hotspot

Files:
1 modified

Legend:

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

    r1402 r1408  
    212212        $errmsg = ""; 
    213213        $authenticated_user = $selectedNetwork->getAuthenticator()->login($username, $password, $errmsg); 
    214         if (!empty($authenticated_user)) { 
     214        if (empty($authenticated_user)) { 
    215215            throw new Exception(_("Unable to authenticate newly created user.  Please report this bug.  Error was: $errmsg")); 
    216216        }