diff options
Diffstat (limited to 'OpenSim/Services/AuthenticationService/PasswordAuthenticationService.cs')
-rw-r--r-- | OpenSim/Services/AuthenticationService/PasswordAuthenticationService.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Services/AuthenticationService/PasswordAuthenticationService.cs b/OpenSim/Services/AuthenticationService/PasswordAuthenticationService.cs index d65665a..ab50943 100644 --- a/OpenSim/Services/AuthenticationService/PasswordAuthenticationService.cs +++ b/OpenSim/Services/AuthenticationService/PasswordAuthenticationService.cs | |||
@@ -66,7 +66,7 @@ namespace OpenSim.Services.AuthenticationService | |||
66 | return String.Empty; | 66 | return String.Empty; |
67 | } | 67 | } |
68 | 68 | ||
69 | string hashed = Util.Md5Hash(Util.Md5Hash(password) + ":" + | 69 | string hashed = Util.Md5Hash(password + ":" + |
70 | data.Data["passwordSalt"].ToString()); | 70 | data.Data["passwordSalt"].ToString()); |
71 | 71 | ||
72 | if (data.Data["passwordHash"].ToString() == hashed) | 72 | if (data.Data["passwordHash"].ToString() == hashed) |