|
@@ -495,7 +495,8 @@ public class UserRepositoryImpl extends MongoRepository implements UserRepositor
|
|
|
DBCollection dbCollection = dsForTigase.getDB().getCollection("tig_users");
|
|
DBCollection dbCollection = dsForTigase.getDB().getCollection("tig_users");
|
|
|
DBObject updateCondition = new BasicDBObject();
|
|
DBObject updateCondition = new BasicDBObject();
|
|
|
// where user_id='101838@113.105.74.140'
|
|
// where user_id='101838@113.105.74.140'
|
|
|
- updateCondition.put("user_id", userId + "@113.105.74.140");
|
|
|
|
|
|
|
+ // updateCondition.put("user_id", userId + "@113.105.74.140");
|
|
|
|
|
+ updateCondition.put("user_id", userId + "@im.ubtob.net");
|
|
|
DBObject updatedValue = new BasicDBObject();
|
|
DBObject updatedValue = new BasicDBObject();
|
|
|
updatedValue.put("password", encryPwd);
|
|
updatedValue.put("password", encryPwd);
|
|
|
DBObject updateSetValue = new BasicDBObject("$set", updatedValue);
|
|
DBObject updateSetValue = new BasicDBObject("$set", updatedValue);
|