aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework/Communications/LoginService.cs
diff options
context:
space:
mode:
authorJeff Ames2008-03-18 14:51:42 +0000
committerJeff Ames2008-03-18 14:51:42 +0000
commitbf8b5844f24d294c459f54147bd511e7112288bf (patch)
tree1b6a1ba4e9888d43694a8a33c21beb6913ce2d3a /OpenSim/Framework/Communications/LoginService.cs
parent* Applied Grumly57 patch for #781; Thanks, Grumly! (diff)
downloadopensim-SC-bf8b5844f24d294c459f54147bd511e7112288bf.zip
opensim-SC-bf8b5844f24d294c459f54147bd511e7112288bf.tar.gz
opensim-SC-bf8b5844f24d294c459f54147bd511e7112288bf.tar.bz2
opensim-SC-bf8b5844f24d294c459f54147bd511e7112288bf.tar.xz
Formatting cleanup. Minor refactoring.
Diffstat (limited to '')
-rw-r--r--OpenSim/Framework/Communications/LoginService.cs7
1 files changed, 5 insertions, 2 deletions
diff --git a/OpenSim/Framework/Communications/LoginService.cs b/OpenSim/Framework/Communications/LoginService.cs
index 72b408b..be47258 100644
--- a/OpenSim/Framework/Communications/LoginService.cs
+++ b/OpenSim/Framework/Communications/LoginService.cs
@@ -121,6 +121,7 @@ namespace OpenSim.Framework.UserManagement
121 121
122 return logResponse.CreateLoginFailedResponse(); 122 return logResponse.CreateLoginFailedResponse();
123 } 123 }
124
124 if (requestData.Contains("passwd")) 125 if (requestData.Contains("passwd"))
125 { 126 {
126 string passwd = (string)requestData["passwd"]; 127 string passwd = (string)requestData["passwd"];
@@ -494,8 +495,8 @@ namespace OpenSim.Framework.UserManagement
494 } 495 }
495 496
496 public string GetLoginForm(string firstname, string lastname, string location, string region, 497 public string GetLoginForm(string firstname, string lastname, string location, string region,
497 string grid, string channel, string version, string lang, 498 string grid, string channel, string version, string lang,
498 string password, string errormessages) 499 string password, string errormessages)
499 { 500 {
500 // inject our values in the form at the markers 501 // inject our values in the form at the markers
501 502
@@ -522,6 +523,7 @@ namespace OpenSim.Framework.UserManagement
522 loginform = loginform.Replace("[$lang]", lang); 523 loginform = loginform.Replace("[$lang]", lang);
523 loginform = loginform.Replace("[$password]", password); 524 loginform = loginform.Replace("[$password]", password);
524 loginform = loginform.Replace("[$errors]", errormessages); 525 loginform = loginform.Replace("[$errors]", errormessages);
526
525 return loginform; 527 return loginform;
526 } 528 }
527 529
@@ -588,6 +590,7 @@ namespace OpenSim.Framework.UserManagement
588 responseString += "</div>"; 590 responseString += "</div>";
589 responseString += "</body>"; 591 responseString += "</body>";
590 responseString += "</html>"; 592 responseString += "</html>";
593
591 return responseString; 594 return responseString;
592 } 595 }
593 596