function _account_sync_update_pass in Account Sync 6
Same name and namespace in other branches
- 7.2 account_sync.receiver.inc \_account_sync_update_pass()
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 64 - Handler inc for receiving and updating user account data.
Code
function _account_sync_update_pass($uid, $pass) {
// Manually set the password, since we don't send plain text passwords
// between servers.
db_query("UPDATE {users} SET pass = '%s' WHERE uid = %d", $pass, $uid);
}