Changeset 4333


Ignore:
Timestamp:
06/30/09 22:48:44 (4 years ago)
Author:
KennethLavrsen
Message:

Item1780: Under Windows using sha1 passwords new registrations create non working password
This is caused by some code that should not have been merged to Release branch
This will trigger me to release a 1.0.7 within a few days because this bug causes trouble
for any native Windows installation.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/core/lib/Foswiki/Users/HtPasswdUser.pm

    r3947 r4333  
    174174 
    175175    if ( $Foswiki::cfg{Htpasswd}{Encoding} eq 'sha1' ) { 
    176         my $encodedPassword = '{SHA}' . Digest::SHA::sha1_base64($passwd); 
     176        my $encodedPassword = '{SHA}' . Digest::SHA::sha1_base64($passwd) . '='; 
    177177 
    178178        # don't use chomp, it relies on $/ 
Note: See TracChangeset for help on using the changeset viewer.