From 5abf004655ad457e0fe319ce18487c73957b36b3 Mon Sep 17 00:00:00 2001 From: pbence Date: Tue, 29 Oct 2024 06:06:17 +0100 Subject: [PATCH] fix dummy detection for OIDC client secret (#2116) --- frontend/src/views/Settings.vue | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/frontend/src/views/Settings.vue b/frontend/src/views/Settings.vue index 16c929c5..301ce271 100644 --- a/frontend/src/views/Settings.vue +++ b/frontend/src/views/Settings.vue @@ -160,9 +160,9 @@ export default Vue.extend({ hasDummy = 'captcha'; } - if (this.isDummy(form['security.oidc.client_secret'])) { - form['security.oidc.client_secret'] = ''; - } else if (this.hasDummy(form['security.oidc.client_secret'])) { + if (this.isDummy(form['security.oidc'].client_secret)) { + form['security.oidc'].client_secret = ''; + } else if (this.hasDummy(form['security.oidc'].client_secret)) { hasDummy = 'oidc'; }