diff options
author | Adam Frisby | 2007-05-04 04:11:59 +0000 |
---|---|---|
committer | Adam Frisby | 2007-05-04 04:11:59 +0000 |
commit | 89a6d6bab7bfc138c60eef7de18fc40c7365a81d (patch) | |
tree | 92ca81dd7d61b994c17d263fd4d3be7456a837dd /OpenGrid.Framework.Data.MySQL/MySQLGridData.cs | |
parent | Dunno, I must have changed something. (diff) | |
download | opensim-SC_OLD-89a6d6bab7bfc138c60eef7de18fc40c7365a81d.zip opensim-SC_OLD-89a6d6bab7bfc138c60eef7de18fc40c7365a81d.tar.gz opensim-SC_OLD-89a6d6bab7bfc138c60eef7de18fc40c7365a81d.tar.bz2 opensim-SC_OLD-89a6d6bab7bfc138c60eef7de18fc40c7365a81d.tar.xz |
I dub thee working. Maybe.
Diffstat (limited to 'OpenGrid.Framework.Data.MySQL/MySQLGridData.cs')
-rw-r--r-- | OpenGrid.Framework.Data.MySQL/MySQLGridData.cs | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/OpenGrid.Framework.Data.MySQL/MySQLGridData.cs b/OpenGrid.Framework.Data.MySQL/MySQLGridData.cs index 7a78800..2ea2db4 100644 --- a/OpenGrid.Framework.Data.MySQL/MySQLGridData.cs +++ b/OpenGrid.Framework.Data.MySQL/MySQLGridData.cs | |||
@@ -48,7 +48,9 @@ namespace OpenGrid.Framework.Data.MySQL | |||
48 | if (throwHissyFit) | 48 | if (throwHissyFit) |
49 | throw new Exception("CRYPTOWEAK AUTHENTICATE: Refusing to authenticate due to replay potential."); | 49 | throw new Exception("CRYPTOWEAK AUTHENTICATE: Refusing to authenticate due to replay potential."); |
50 | 50 | ||
51 | return true; | 51 | SimProfileData data = GetProfileByLLUUID(uuid); |
52 | |||
53 | return (handle == data.regionHandle && authkey == data.regionSecret); | ||
52 | } | 54 | } |
53 | 55 | ||
54 | /// <summary> | 56 | /// <summary> |