mirror of
https://github.com/tgstation/tgstation-server.git
synced 2026-08-29 16:11:05 +01:00
Add RemoteLoginInfo class for the interface
This commit is contained in:
@@ -52,7 +52,7 @@ namespace TGS.CommandLine
|
||||
}
|
||||
argsAsList.RemoveAt(I);
|
||||
argsAsList.RemoveAt(I);
|
||||
ReplaceInterface(new ServerInterface(address, port, username, password));
|
||||
ReplaceInterface(new ServerInterface(new RemoteLoginInfo(address, port, username, password)));
|
||||
break;
|
||||
}
|
||||
}
|
||||
@@ -230,7 +230,7 @@ namespace TGS.CommandLine
|
||||
var username = Console.ReadLine();
|
||||
Console.Write("Enter password: ");
|
||||
var password = ReadLineSecure();
|
||||
ReplaceInterface(new ServerInterface(address, port, username, password));
|
||||
ReplaceInterface(new ServerInterface(new RemoteLoginInfo(address, port, username, password)));
|
||||
var res = currentInterface.ConnectionStatus(out string error);
|
||||
if (!res.HasFlag(ConnectivityLevel.Connected))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user