]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - lib/util.php
move update_user function to openid.php
[quix0rs-gnu-social.git] / lib / util.php
index f34a10c5b259f3057263a7d3174509361ef20817..eb019ac7ee849f97d243295c0ce164f7da293773 100644 (file)
@@ -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