Fix that one missing message & Update CHANGELOG.md

This commit is contained in:
Enerdy 2016-10-15 00:39:13 +01:00
parent a49a7f35cc
commit dcaae17ffe
2 changed files with 3 additions and 1 deletions

View file

@ -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. 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 ## 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 ## TShock 4.3.19
* Compatibility with Terraria 1.3.3.3 (@Simon311) * Compatibility with Terraria 1.3.3.3 (@Simon311)

View file

@ -814,7 +814,7 @@ namespace TShockAPI
AuthToken = r.Next(100000, 10000000); AuthToken = r.Next(100000, 10000000);
Console.ForegroundColor = ConsoleColor.Yellow; Console.ForegroundColor = ConsoleColor.Yellow;
Console.WriteLine("TShock Notice: To become SuperAdmin, join the game and type {0}auth {1}", Commands.Specifier, AuthToken); 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(); Console.ResetColor();
File.WriteAllText(Path.Combine(SavePath, "authcode.txt"), AuthToken.ToString()); File.WriteAllText(Path.Combine(SavePath, "authcode.txt"), AuthToken.ToString());
} }