X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=lib%2Futil.php;h=eb019ac7ee849f97d243295c0ce164f7da293773;hb=0ba99486039b10686a520e22ef50385625e5b9ae;hp=f34a10c5b259f3057263a7d3174509361ef20817;hpb=78ac9df2a626fe1da4f9d864ca17ae19ee6d1c75;p=quix0rs-gnu-social.git diff --git a/lib/util.php b/lib/util.php index f34a10c5b2..eb019ac7ee 100644 --- a/lib/util.php +++ b/lib/util.php @@ -366,8 +366,8 @@ function common_textarea($id, $label, $content=NULL, $instructions=NULL) { # salted, hashed passwords are stored in the DB -function common_munge_password($id, $password) { - return md5($id . $password); +function common_munge_password($password, $id) { + return md5($password . $id); } # check if a username exists and has matching password