From 27d9e715c02451b4c87ce94728a0fa00071c61e5 Mon Sep 17 00:00:00 2001 From: lbsa71 Date: Fri, 28 Nov 2008 12:31:30 +0000 Subject: * Changed name of auth function to better reflect actual use --- OpenSim/Framework/Communications/LoginService.cs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'OpenSim') diff --git a/OpenSim/Framework/Communications/LoginService.cs b/OpenSim/Framework/Communications/LoginService.cs index d6d0e27..883f965 100644 --- a/OpenSim/Framework/Communications/LoginService.cs +++ b/OpenSim/Framework/Communications/LoginService.cs @@ -152,7 +152,7 @@ namespace OpenSim.Framework.Communications m_log.DebugFormat( "[LOGIN]: XMLRPC Client is {0}, start location is {1}", clientVersion, startLocationRequest); - if (!TryAuthenticateUser(request, firstname, lastname, out userProfile)) + if( !TryAuthenticateXmlRpcLogin(request, firstname, lastname, out userProfile ) ) { return logResponse.CreateLoginFailedResponse(); } @@ -193,6 +193,7 @@ namespace OpenSim.Framework.Communications return logResponse.CreateAlreadyLoggedInResponse(); } + // Otherwise... // Create a new agent session @@ -285,7 +286,7 @@ namespace OpenSim.Framework.Communications } } - protected virtual bool TryAuthenticateUser(XmlRpcRequest request, string firstname, string lastname, out UserProfileData userProfile) + protected virtual bool TryAuthenticateXmlRpcLogin(XmlRpcRequest request, string firstname, string lastname, out UserProfileData userProfile) { Hashtable requestData = (Hashtable)request.Params[0]; -- cgit v1.1