/auth-verify now removes authcode.txt
Some strings have been shortened to comply with Terraria's inability to move text that is too long to the second line.
This commit is contained in:
parent
77ed57a4bd
commit
bab6d6cd2e
2 changed files with 6 additions and 4 deletions
|
|
@ -282,6 +282,7 @@ namespace TShockAPI
|
|||
Console.WriteLine("TShock Notice: To become SuperAdmin, join the game and type /auth " + AuthToken);
|
||||
Console.WriteLine("This token will display until disabled by verification. (/auth-verify)");
|
||||
Console.ForegroundColor = ConsoleColor.Gray;
|
||||
FileTools.CreateFile(Path.Combine(SavePath + "authcode.txt"));
|
||||
TextWriter tw = new StreamWriter(Path.Combine(SavePath, "authcode.txt"));
|
||||
tw.WriteLine(AuthToken);
|
||||
tw.Close();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue