From 2061f55007a62c4855033b4ee0e4f83ce9694580 Mon Sep 17 00:00:00 2001 From: Justin Clarke Casey Date: Sun, 16 Dec 2007 13:57:08 +0000 Subject: Reposition 'user profile not found' messages to stop spurious messages caused by other usermanager usage This should stop the regular spurious messages in the grid user console --- OpenSim/Framework/Communications/LoginService.cs | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'OpenSim/Framework/Communications/LoginService.cs') diff --git a/OpenSim/Framework/Communications/LoginService.cs b/OpenSim/Framework/Communications/LoginService.cs index d18cf63..7c39e56 100644 --- a/OpenSim/Framework/Communications/LoginService.cs +++ b/OpenSim/Framework/Communications/LoginService.cs @@ -80,7 +80,13 @@ namespace OpenSim.Framework.UserManagement userProfile = GetTheUser(firstname, lastname); if (userProfile == null) + { + MainLog.Instance.Verbose( + "LOGIN", + "Could not find a profile for " + firstname + " " + lastname); + return logResponse.CreateLoginFailedResponse(); + } GoodLogin = AuthenticateUser(userProfile, passwd); } -- cgit v1.1