/// <summary> /// Gets the Master Password of the given wiki, used to encrypt the Users data. /// </summary> public static string GetMasterPassword(IGlobalSettingsStorageProviderV60 provider) { return((string)Cache.GetCachedItem("MasterPassword", () => SettingsTools.GetString(provider.GetSetting("MasterPassword"), ""))); }
/// <summary> /// Gets the Master Password of the given wiki, used to encrypt the Users data. /// </summary> public static string GetMasterPassword() { return((string)Cache.GetCachedItem("MasterPassword", () => SettingsTools.GetString(Provider.GetSetting("MasterPassword"), ""))); }