aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Services/AuthenticationService
diff options
context:
space:
mode:
authorMelanie2012-08-31 00:34:22 +0100
committerMelanie2012-08-31 00:34:22 +0100
commitfd92560649cc9dd34b7b9a8dfabccf7582661a64 (patch)
tree97cc0a6aef597f014bafe62022c2619570f134fa /OpenSim/Services/AuthenticationService
parentMerge branch 'master' into careminster (diff)
parentMerge branch 'ubitwork' into avination (diff)
downloadopensim-SC_OLD-fd92560649cc9dd34b7b9a8dfabccf7582661a64.zip
opensim-SC_OLD-fd92560649cc9dd34b7b9a8dfabccf7582661a64.tar.gz
opensim-SC_OLD-fd92560649cc9dd34b7b9a8dfabccf7582661a64.tar.bz2
opensim-SC_OLD-fd92560649cc9dd34b7b9a8dfabccf7582661a64.tar.xz
Merge branch 'avination' into careminster
Diffstat (limited to 'OpenSim/Services/AuthenticationService')
-rw-r--r--OpenSim/Services/AuthenticationService/PasswordAuthenticationService.cs1
-rw-r--r--OpenSim/Services/AuthenticationService/WebkeyAuthenticationService.cs1
-rw-r--r--OpenSim/Services/AuthenticationService/WebkeyOrPasswordAuthenticationService.cs5
3 files changed, 4 insertions, 3 deletions
diff --git a/OpenSim/Services/AuthenticationService/PasswordAuthenticationService.cs b/OpenSim/Services/AuthenticationService/PasswordAuthenticationService.cs
index 9d12d47..a069838 100644
--- a/OpenSim/Services/AuthenticationService/PasswordAuthenticationService.cs
+++ b/OpenSim/Services/AuthenticationService/PasswordAuthenticationService.cs
@@ -65,7 +65,6 @@ namespace OpenSim.Services.AuthenticationService
65 public string Authenticate(UUID principalID, string password, int lifetime) 65 public string Authenticate(UUID principalID, string password, int lifetime)
66 { 66 {
67 UUID realID; 67 UUID realID;
68
69 return Authenticate(principalID, password, lifetime, out realID); 68 return Authenticate(principalID, password, lifetime, out realID);
70 } 69 }
71 70
diff --git a/OpenSim/Services/AuthenticationService/WebkeyAuthenticationService.cs b/OpenSim/Services/AuthenticationService/WebkeyAuthenticationService.cs
index 47b4fa6..1510168 100644
--- a/OpenSim/Services/AuthenticationService/WebkeyAuthenticationService.cs
+++ b/OpenSim/Services/AuthenticationService/WebkeyAuthenticationService.cs
@@ -63,7 +63,6 @@ namespace OpenSim.Services.AuthenticationService
63 public string Authenticate(UUID principalID, string password, int lifetime, out UUID realID) 63 public string Authenticate(UUID principalID, string password, int lifetime, out UUID realID)
64 { 64 {
65 realID = UUID.Zero; 65 realID = UUID.Zero;
66
67 return Authenticate(principalID, password, lifetime); 66 return Authenticate(principalID, password, lifetime);
68 } 67 }
69 68
diff --git a/OpenSim/Services/AuthenticationService/WebkeyOrPasswordAuthenticationService.cs b/OpenSim/Services/AuthenticationService/WebkeyOrPasswordAuthenticationService.cs
index 7fbf36d..bbc8470 100644
--- a/OpenSim/Services/AuthenticationService/WebkeyOrPasswordAuthenticationService.cs
+++ b/OpenSim/Services/AuthenticationService/WebkeyOrPasswordAuthenticationService.cs
@@ -64,6 +64,7 @@ namespace OpenSim.Services.AuthenticationService
64 { 64 {
65 AuthenticationData data = m_Database.Get(principalID); 65 AuthenticationData data = m_Database.Get(principalID);
66 string result = String.Empty; 66 string result = String.Empty;
67 realID = UUID.Zero;
67 if (data != null && data.Data != null) 68 if (data != null && data.Data != null)
68 { 69 {
69 if (data.Data.ContainsKey("webLoginKey")) 70 if (data.Data.ContainsKey("webLoginKey"))
@@ -85,7 +86,7 @@ namespace OpenSim.Services.AuthenticationService
85 } 86 }
86 } 87 }
87 88
88 realID = UUID.Zero; 89
89 90
90 if (result == string.Empty) 91 if (result == string.Empty)
91 { 92 {
@@ -96,6 +97,8 @@ namespace OpenSim.Services.AuthenticationService
96 { 97 {
97 m_log.DebugFormat("[AUTH SERVICE]: PrincipalID {0} or its data not found", principalID); 98 m_log.DebugFormat("[AUTH SERVICE]: PrincipalID {0} or its data not found", principalID);
98 } 99 }
100
101
99 return result; 102 return result;
100 } 103 }
101 } 104 }