From dcaae17ffe29075fabea5c1d871f2152c356ba9a Mon Sep 17 00:00:00 2001 From: Enerdy Date: Sat, 15 Oct 2016 00:39:13 +0100 Subject: [PATCH] Fix that one missing message & Update CHANGELOG.md --- CHANGELOG.md | 2 ++ TShockAPI/TShock.cs | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 3c4e4301..a59c1aa2 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,6 +3,8 @@ This is the rolling changelog for TShock for Terraria. Use past tense when adding new entries; sign your name off when you add or change something. This should primarily be things like user changes, not necessarily codebase changes unless it's really relevant or large. ## Upcoming Changes +* Security improvement: The auth system is now automatically disabled if a superadmin exists in the database (@Enerdy) +* Removed the `auth-verify` command since `auth` now serves its purpose when necessary (@Enerdy) ## TShock 4.3.19 * Compatibility with Terraria 1.3.3.3 (@Simon311) diff --git a/TShockAPI/TShock.cs b/TShockAPI/TShock.cs index 96c88944..bb2f1702 100755 --- a/TShockAPI/TShock.cs +++ b/TShockAPI/TShock.cs @@ -814,7 +814,7 @@ namespace TShockAPI AuthToken = r.Next(100000, 10000000); Console.ForegroundColor = ConsoleColor.Yellow; Console.WriteLine("TShock Notice: To become SuperAdmin, join the game and type {0}auth {1}", Commands.Specifier, AuthToken); - Console.WriteLine("This token will display until disabled by verification. ({0}auth-verify)", Commands.Specifier); + Console.WriteLine("This token will display until disabled by verification. ({0}auth)", Commands.Specifier); Console.ResetColor(); File.WriteAllText(Path.Combine(SavePath, "authcode.txt"), AuthToken.ToString()); }