mirror of
https://github.com/opensim/opensim.git
synced 2026-08-05 08:55:56 +08:00
Merge commit '9f171041c950d55d86481cdcee7a04c623bea8b2' into bigmerge
This commit is contained in:
@@ -144,6 +144,12 @@ namespace OpenSim.Server.Handlers.UserAccounts
|
||||
if (UUID.TryParse(request["UserID"].ToString(), out userID))
|
||||
account = m_UserAccountService.GetUserAccount(scopeID, userID);
|
||||
}
|
||||
else if (request.ContainsKey("PrincipalID") && request["PrincipalID"] != null)
|
||||
{
|
||||
UUID userID;
|
||||
if (UUID.TryParse(request["PrincipalID"].ToString(), out userID))
|
||||
account = m_UserAccountService.GetUserAccount(scopeID, userID);
|
||||
}
|
||||
else if (request.ContainsKey("Email") && request["Email"] != null)
|
||||
{
|
||||
account = m_UserAccountService.GetUserAccount(scopeID, request["Email"].ToString());
|
||||
|
||||
Reference in New Issue
Block a user