aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Server/Handlers/UserAccounts/UserAccountServerPostHandler.cs
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Server/Handlers/UserAccounts/UserAccountServerPostHandler.cs')
-rw-r--r--OpenSim/Server/Handlers/UserAccounts/UserAccountServerPostHandler.cs6
1 files changed, 6 insertions, 0 deletions
diff --git a/OpenSim/Server/Handlers/UserAccounts/UserAccountServerPostHandler.cs b/OpenSim/Server/Handlers/UserAccounts/UserAccountServerPostHandler.cs
index 7439cb0..32da44f 100644
--- a/OpenSim/Server/Handlers/UserAccounts/UserAccountServerPostHandler.cs
+++ b/OpenSim/Server/Handlers/UserAccounts/UserAccountServerPostHandler.cs
@@ -144,6 +144,12 @@ namespace OpenSim.Server.Handlers.UserAccounts
144 if (UUID.TryParse(request["UserID"].ToString(), out userID)) 144 if (UUID.TryParse(request["UserID"].ToString(), out userID))
145 account = m_UserAccountService.GetUserAccount(scopeID, userID); 145 account = m_UserAccountService.GetUserAccount(scopeID, userID);
146 } 146 }
147 else if (request.ContainsKey("PrincipalID") && request["PrincipalID"] != null)
148 {
149 UUID userID;
150 if (UUID.TryParse(request["PrincipalID"].ToString(), out userID))
151 account = m_UserAccountService.GetUserAccount(scopeID, userID);
152 }
147 else if (request.ContainsKey("Email") && request["Email"] != null) 153 else if (request.ContainsKey("Email") && request["Email"] != null)
148 { 154 {
149 account = m_UserAccountService.GetUserAccount(scopeID, request["Email"].ToString()); 155 account = m_UserAccountService.GetUserAccount(scopeID, request["Email"].ToString());