From bc90883f1a5e9c4ecb76ae358734b85be515af7f Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Thu, 30 Apr 2020 15:03:09 +0200 Subject: Handle external login errors --- server/lib/plugins/register-helpers-store.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'server/lib/plugins') diff --git a/server/lib/plugins/register-helpers-store.ts b/server/lib/plugins/register-helpers-store.ts index a3ec7ef6a..e337b1cb0 100644 --- a/server/lib/plugins/register-helpers-store.ts +++ b/server/lib/plugins/register-helpers-store.ts @@ -230,9 +230,9 @@ export class RegisterHelpersStore { private buildSettingsManager (): PluginSettingsManager { return { - getSetting: (name: string) => PluginModel.getSetting(this.plugin.name, this.plugin.type, name), + getSetting: (name: string) => PluginModel.getSetting(this.plugin.name, this.plugin.type, name, this.settings), - getSettings: (names: string[]) => PluginModel.getSettings(this.plugin.name, this.plugin.type, names), + getSettings: (names: string[]) => PluginModel.getSettings(this.plugin.name, this.plugin.type, names, this.settings), setSetting: (name: string, value: string) => PluginModel.setSetting(this.plugin.name, this.plugin.type, name, value), -- cgit v1.2.3