Skip to content

Commit

Permalink
fix: login with MD5
Browse files Browse the repository at this point in the history
  • Loading branch information
rejetto committed May 11, 2020
1 parent b33136e commit 28b1919
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions main.pas
Original file line number Diff line number Diff line change
Expand Up @@ -1938,10 +1938,10 @@ function countIPs(onlyDownloading:boolean=FALSE; usersInsteadOfIps:boolean=FALSE
end; // countIPs

function strSHA256(s:string):string;
begin result:=THashSHA2.GetHashString(s) end;
begin result:=upperCase( THashSHA2.GetHashString(s) ) end;

function strMD5(s:string):string;
begin result:=THashMD5.GetHashString(s) end;
begin result:=uppercase( THashMD5.GetHashString(s) ) end;

function idx_img2ico(i:integer):integer;
begin
Expand Down

0 comments on commit 28b1919

Please sign in to comment.