Fix XmlRpcAdmin admin_exists_user call so that it actually returns the last user login time rather than serializing the DateTime directly which generates a set of unexpected fields.
lastlogin return is in unix timestamp format.user_profiles
parent
f281a994e8
commit
f064075a85
|
@ -1094,7 +1094,7 @@ namespace OpenSim.ApplicationPlugins.RemoteController
|
|||
{
|
||||
GridUserInfo userInfo = m_application.SceneManager.CurrentOrFirstScene.GridUserService.GetGridUserInfo(account.PrincipalID.ToString());
|
||||
if (userInfo != null)
|
||||
responseData["lastlogin"] = userInfo.Login;
|
||||
responseData["lastlogin"] = Util.ToUnixTime(userInfo.Login);
|
||||
else
|
||||
responseData["lastlogin"] = 0;
|
||||
|
||||
|
|
Loading…
Reference in New Issue