function _account_sync_update_pass in Account Sync 7.2
Same name and namespace in other branches
- 6 account_sync.receiver.inc \_account_sync_update_pass()
Update the password on the account.
We need to manually set the password since we don't send plain text passwords between servers.
1 call to _account_sync_update_pass()
- account_sync_update_user in ./
account_sync.receiver.inc - XMLRPC callback to update the user account on /this/ drupal site.
File
- ./
account_sync.receiver.inc, line 103 - Handler for receiving and updating user account data.
Code
function _account_sync_update_pass($uid, $pass) {
db_query("UPDATE {users} SET pass = :pass WHERE uid = :uid", array(
':pass' => $pass,
':uid' => $uid,
));
}