Changes

From SME Server
Jump to navigationJump to search
m
Restore missing command from code to improve password strength
Line 101: Line 101:  
     my $pw = $rec->prop('DbPassword');
 
     my $pw = $rec->prop('DbPassword');
 
     return "" if $pw;
 
     return "" if $pw;
+
 
     $rec->set_prop('DbPassword', sprintf("%15.0f", int( (1000000000000000) * rand() )));
+
     $rec->set_prop('DbPassword', MIME::Base64::encode(int( (1000000000000000) * rand() )));
 +
 
 
  }
 
  }
  

Navigation menu