Ticket #363: inviteactionsphp.diff

File inviteactionsphp.diff, 0.8 kB (added by edfactor, 6 months ago)

Patch to change variable name to correct one

  • invite_actions.php

    old new  
    182182                    $ok = authenticate_account($username, $displaypassword); 
    183183                    if ($ok) { 
    184184                        $messages[] = __gettext("You have been logged on."); 
    185                         if (md5($password) == md5("password")) { 
     185                        if (md5($displaypassword) == md5("password")) { 
    186186                            $_SESSION['messages'][] = __gettext("The password for this account is extremely insecure and represents a major security risk. You should change it immediately."); 
    187187                        } 
    188188                        define('redirect_url', $redirect_url);