if ($action == 'forcesync' && $account->sync_password) {
$res = XDB::query("SELECT password FROM auth_user_md5 WHERE user_id = {?}", $user);
$account->set_password($res->fetchOneCell());
if ($action == 'forcesync' && $account->sync_password) {
$res = XDB::query("SELECT password FROM auth_user_md5 WHERE user_id = {?}", $user);
$account->set_password($res->fetchOneCell());