diff options
Diffstat (limited to 'OpenSim/Framework/UserManager/LoginService.cs')
-rw-r--r-- | OpenSim/Framework/UserManager/LoginService.cs | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/OpenSim/Framework/UserManager/LoginService.cs b/OpenSim/Framework/UserManager/LoginService.cs index 483665e..8e7cf80 100644 --- a/OpenSim/Framework/UserManager/LoginService.cs +++ b/OpenSim/Framework/UserManager/LoginService.cs | |||
@@ -44,18 +44,15 @@ namespace OpenSim.Framework.UserManagement | |||
44 | 44 | ||
45 | bool GoodXML = (requestData.Contains("first") && requestData.Contains("last") && requestData.Contains("passwd")); | 45 | bool GoodXML = (requestData.Contains("first") && requestData.Contains("last") && requestData.Contains("passwd")); |
46 | bool GoodLogin = false; | 46 | bool GoodLogin = false; |
47 | string firstname = ""; | ||
48 | string lastname = ""; | ||
49 | string passwd = ""; | ||
50 | 47 | ||
51 | UserProfileData userProfile; | 48 | UserProfileData userProfile; |
52 | LoginResponse logResponse = new LoginResponse(); | 49 | LoginResponse logResponse = new LoginResponse(); |
53 | 50 | ||
54 | if (GoodXML) | 51 | if (GoodXML) |
55 | { | 52 | { |
56 | firstname = (string)requestData["first"]; | 53 | string firstname = (string)requestData["first"]; |
57 | lastname = (string)requestData["last"]; | 54 | string lastname = (string)requestData["last"]; |
58 | passwd = (string)requestData["passwd"]; | 55 | string passwd = (string)requestData["passwd"]; |
59 | 56 | ||
60 | userProfile = GetTheUser(firstname, lastname); | 57 | userProfile = GetTheUser(firstname, lastname); |
61 | if (userProfile == null) | 58 | if (userProfile == null) |