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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user