web/admin: default to disable policy execution logging

Signed-off-by: Jens Langhammer <jens@goauthentik.io>
This commit is contained in:
Jens Langhammer 2023-02-08 23:26:06 +01:00
parent a7cf454760
commit 243be8f7bb
No known key found for this signature in database
5 changed files with 5 additions and 5 deletions

View File

@ -59,7 +59,7 @@ export class DummyPolicyForm extends ModelForm<DummyPolicy, string> {
<input <input
class="pf-c-switch__input" class="pf-c-switch__input"
type="checkbox" type="checkbox"
?checked=${first(this.instance?.executionLogging, true)} ?checked=${first(this.instance?.executionLogging, false)}
/> />
<span class="pf-c-switch__toggle"> <span class="pf-c-switch__toggle">
<span class="pf-c-switch__toggle-icon"> <span class="pf-c-switch__toggle-icon">

View File

@ -61,7 +61,7 @@ export class EventMatcherPolicyForm extends ModelForm<EventMatcherPolicy, string
<input <input
class="pf-c-switch__input" class="pf-c-switch__input"
type="checkbox" type="checkbox"
?checked=${first(this.instance?.executionLogging, true)} ?checked=${first(this.instance?.executionLogging, false)}
/> />
<span class="pf-c-switch__toggle"> <span class="pf-c-switch__toggle">
<span class="pf-c-switch__toggle-icon"> <span class="pf-c-switch__toggle-icon">

View File

@ -59,7 +59,7 @@ export class PasswordExpiryPolicyForm extends ModelForm<PasswordExpiryPolicy, st
<input <input
class="pf-c-switch__input" class="pf-c-switch__input"
type="checkbox" type="checkbox"
?checked=${first(this.instance?.executionLogging, true)} ?checked=${first(this.instance?.executionLogging, false)}
/> />
<span class="pf-c-switch__toggle"> <span class="pf-c-switch__toggle">
<span class="pf-c-switch__toggle-icon"> <span class="pf-c-switch__toggle-icon">

View File

@ -237,7 +237,7 @@ export class PasswordPolicyForm extends ModelForm<PasswordPolicy, string> {
<input <input
class="pf-c-switch__input" class="pf-c-switch__input"
type="checkbox" type="checkbox"
?checked=${first(this.instance?.executionLogging, true)} ?checked=${first(this.instance?.executionLogging, false)}
/> />
<span class="pf-c-switch__toggle"> <span class="pf-c-switch__toggle">
<span class="pf-c-switch__toggle-icon"> <span class="pf-c-switch__toggle-icon">

View File

@ -68,7 +68,7 @@ export class ReputationPolicyForm extends ModelForm<ReputationPolicy, string> {
<input <input
class="pf-c-switch__input" class="pf-c-switch__input"
type="checkbox" type="checkbox"
?checked=${first(this.instance?.executionLogging, true)} ?checked=${first(this.instance?.executionLogging, false)}
/> />
<span class="pf-c-switch__toggle"> <span class="pf-c-switch__toggle">
<span class="pf-c-switch__toggle-icon"> <span class="pf-c-switch__toggle-icon">