mirror of
https://github.com/knadh/listmonk.git
synced 2024-12-26 00:42:58 +08:00
fix dummy detection for OIDC client secret (#2116)
This commit is contained in:
parent
cf7d6644f1
commit
5abf004655
1 changed files with 3 additions and 3 deletions
|
@ -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';
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue