From 918c1d681ce3d9949358e91ffd2f4f250e3be04f Mon Sep 17 00:00:00 2001 From: Loporrit <141286461+loporrit@users.noreply.github.com> Date: Fri, 1 Sep 2023 05:37:42 +0000 Subject: [PATCH] Return to the intro screen if no secret keys are set up --- .../Services/ServerConfiguration/ServerConfigurationManager.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MareSynchronos/Services/ServerConfiguration/ServerConfigurationManager.cs b/MareSynchronos/Services/ServerConfiguration/ServerConfigurationManager.cs index b43c11b..a1ddf02 100644 --- a/MareSynchronos/Services/ServerConfiguration/ServerConfigurationManager.cs +++ b/MareSynchronos/Services/ServerConfiguration/ServerConfigurationManager.cs @@ -112,7 +112,7 @@ public class ServerConfigurationManager public bool HasValidConfig() { - return CurrentServer != null; + return CurrentServer != null && CurrentServer.SecretKeys.Any(); } public void Save()