added and tested admin authentication. WOOT. only steam-based works for now.

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40466
This commit is contained in:
David Anderson
2007-02-09 04:41:03 +00:00
parent 18aabecfd3
commit 57c1f0dd4d
7 changed files with 144 additions and 11 deletions
+1 -1
View File
@@ -24,7 +24,7 @@
public Plugin:myinfo =
{
name = "Admin Base",
name = "Admin File Reader",
author = "AlliedModders LLC",
description = "Reads admin files",
version = "1.0.0.0",
+1 -1
View File
@@ -76,7 +76,7 @@ public SMCResult:ReadUsers_KeyValue(Handle:smc,
{
auth = true;
StrCopy(g_CurAuth, sizeof(g_CurAuth), value);
} else if (StrEqual(key, "ident")) {
} else if (StrEqual(key, "identity")) {
auth = true;
StrCopy(g_CurIdent, sizeof(g_CurIdent), value);
} else if (StrEqual(key, "password")) {