aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework/Communications/LoginService.cs
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Framework/Communications/LoginService.cs')
-rw-r--r--OpenSim/Framework/Communications/LoginService.cs44
1 files changed, 22 insertions, 22 deletions
diff --git a/OpenSim/Framework/Communications/LoginService.cs b/OpenSim/Framework/Communications/LoginService.cs
index 4b2d679..889b70a 100644
--- a/OpenSim/Framework/Communications/LoginService.cs
+++ b/OpenSim/Framework/Communications/LoginService.cs
@@ -58,7 +58,7 @@ namespace OpenSim.Framework.UserManagement
58 m_userManager = userManager; 58 m_userManager = userManager;
59 m_libraryRootFolder = libraryRootFolder; 59 m_libraryRootFolder = libraryRootFolder;
60 60
61 if (welcomeMess != "") 61 if (welcomeMess != String.Empty)
62 { 62 {
63 m_welcomeMessage = welcomeMess; 63 m_welcomeMessage = welcomeMess;
64 } 64 }
@@ -370,16 +370,16 @@ namespace OpenSim.Framework.UserManagement
370 Hashtable returnactions = new Hashtable(); 370 Hashtable returnactions = new Hashtable();
371 int statuscode = 200; 371 int statuscode = 200;
372 372
373 string firstname = ""; 373 string firstname = String.Empty;
374 string lastname = ""; 374 string lastname = String.Empty;
375 string location = ""; 375 string location = String.Empty;
376 string region =""; 376 string region =String.Empty;
377 string grid = ""; 377 string grid = String.Empty;
378 string channel = ""; 378 string channel = String.Empty;
379 string version = ""; 379 string version = String.Empty;
380 string lang = ""; 380 string lang = String.Empty;
381 string password = ""; 381 string password = String.Empty;
382 string errormessages = ""; 382 string errormessages = String.Empty;
383 383
384 // the client requires the HTML form field be named 'username' 384 // the client requires the HTML form field be named 'username'
385 // however, the data it sends when it loads the first time is 'firstname' 385 // however, the data it sends when it loads the first time is 'firstname'
@@ -387,33 +387,33 @@ namespace OpenSim.Framework.UserManagement
387 387
388 388
389 if (keysvals.Contains("firstname")) 389 if (keysvals.Contains("firstname"))
390 firstname = wfcut.Replace((string)keysvals["firstname"],"",99999); 390 firstname = wfcut.Replace((string)keysvals["firstname"],String.Empty,99999);
391 if (keysvals.Contains("username")) 391 if (keysvals.Contains("username"))
392 firstname = wfcut.Replace((string)keysvals["username"],"",99999); 392 firstname = wfcut.Replace((string)keysvals["username"],String.Empty,99999);
393 393
394 if (keysvals.Contains("lastname")) 394 if (keysvals.Contains("lastname"))
395 lastname = wfcut.Replace((string)keysvals["lastname"],"",99999); 395 lastname = wfcut.Replace((string)keysvals["lastname"],String.Empty,99999);
396 396
397 if (keysvals.Contains("location")) 397 if (keysvals.Contains("location"))
398 location = wfcut.Replace((string)keysvals["location"],"",99999); 398 location = wfcut.Replace((string)keysvals["location"],String.Empty,99999);
399 399
400 if (keysvals.Contains("region")) 400 if (keysvals.Contains("region"))
401 region = wfcut.Replace((string)keysvals["region"],"",99999); 401 region = wfcut.Replace((string)keysvals["region"],String.Empty,99999);
402 402
403 if (keysvals.Contains("grid")) 403 if (keysvals.Contains("grid"))
404 grid = wfcut.Replace((string)keysvals["grid"],"",99999); 404 grid = wfcut.Replace((string)keysvals["grid"],String.Empty,99999);
405 405
406 if (keysvals.Contains("channel")) 406 if (keysvals.Contains("channel"))
407 channel = wfcut.Replace((string)keysvals["channel"],"",99999); 407 channel = wfcut.Replace((string)keysvals["channel"],String.Empty,99999);
408 408
409 if (keysvals.Contains("version")) 409 if (keysvals.Contains("version"))
410 version = wfcut.Replace((string)keysvals["version"],"",99999); 410 version = wfcut.Replace((string)keysvals["version"],String.Empty,99999);
411 411
412 if (keysvals.Contains("lang")) 412 if (keysvals.Contains("lang"))
413 lang = wfcut.Replace((string)keysvals["lang"],"",99999); 413 lang = wfcut.Replace((string)keysvals["lang"],String.Empty,99999);
414 414
415 if (keysvals.Contains("password")) 415 if (keysvals.Contains("password"))
416 password = wfcut.Replace((string)keysvals["password"], "", 99999); 416 password = wfcut.Replace((string)keysvals["password"], String.Empty, 99999);
417 417
418 418
419 // load our login form. 419 // load our login form.
@@ -470,7 +470,7 @@ namespace OpenSim.Framework.UserManagement
470 { 470 {
471 // inject our values in the form at the markers 471 // inject our values in the form at the markers
472 472
473 string loginform=""; 473 string loginform=String.Empty;
474 string file = Path.Combine(Util.configDir(), "http_loginform.html"); 474 string file = Path.Combine(Util.configDir(), "http_loginform.html");
475 if (!File.Exists(file)) 475 if (!File.Exists(file))
476 { 476 {