HomeHelpTrac

Ignore:
Timestamp:
11/03/09 05:17:13 (3 years ago)
Author:
Alexander Levitskiy
Message:

Desktop Application - User Authentication Failed - FIXED

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/flash/modules/desktop/inc/actions.inc.php

    r12960 r13135  
    9191    case 'login': 
    9292        $sContents = parseXml($aXmlTemplates['result'], "msgUserAuthenticationFailure", FAILED_VAL); 
    93         $sPassword = encryptPassword($sPassword); 
     93        $sId = getIdByNick($sNick); 
     94        $sPassword = encryptPassword($sId, $sPassword); 
    9495        if(loginUser($sNick, $sPassword, true) == TRUE_VAL) 
    9596        { 
    96             $sId = getIdByNick($sNick); 
    9797            $aUserInfo = getUserInfo($sId); 
    9898            login($sId, $sPassword); 
Note: See TracChangeset for help on using the changeset viewer.