Tweaked the SessionManager's IsSessionTokenValid function to accept a connection string to standardize the interfaces on all the SessionManager functions.

This commit is contained in:
2021-03-10 21:52:52 -06:00
parent baf2518fe8
commit 9b283b31f4
7 changed files with 13 additions and 9 deletions
+1 -1
View File
@@ -63,7 +63,7 @@ namespace SecureCore
public static void InitializeSettings()
{
if (Settings != null) throw new InvalidOperationException("The in memory JSON settings has already been loaded. Operation aborted.");
if (Settings != null) throw new InvalidOperationException("The in memory JSON settings have already been loaded. Operation aborted.");
if (!File.Exists(AppSettingsPath)) throw new FileNotFoundException($"The app settings file '{AppSettingsPath}' couldn't be found.");
try