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:
@@ -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",
|
||||
|
||||
@@ -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")) {
|
||||
|
||||
Reference in New Issue
Block a user