Changeset 11832


Ignore:
Timestamp:
2006-05-18T11:00:20+12:00 (18 years ago)
Author:
mdewsnip
Message:

The crypt function wasn't working on Windows with Perl 5.6.1, and the Crypt::UnixCrypt::crypt replacement wasn't being used as it should. Now the Crypt::UnixCrypt version is always used (both on Windows and Unix).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gsdl/cgi-bin/gliserver.pl

    r11293 r11832  
    2929    # Encrypt the password
    3030    if (defined $gsdl_cgi->param("pw")) {
    31     $gsdl_cgi->param('-name' => "pw", '-value' => crypt($gsdl_cgi->clean_param("pw"), "Tp"));
     31    $gsdl_cgi->param('-name' => "pw", '-value' => &Crypt::UnixCrypt::crypt($gsdl_cgi->clean_param("pw"), "Tp"));
    3232    }
    3333
Note: See TracChangeset for help on using the changeset viewer.