Config UI: don't show "Logout" when started with --disable-auth (#29096)

This commit is contained in:
Sebastian Schrittwieser 2026-04-13 22:17:04 +02:00 • committed by GitHub
parent 884f1834f9
commit 9f39818386
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 4 additions and 0 deletions

View file

@ -32,6 +32,7 @@
:sponsor="sponsor"
:fatal="fatal"
:experimental="experimental"
:auth-disabled="authDisabled"
:evopt="evopt"
:installed="installed"
:commit="commit"
@ -68,6 +69,7 @@ export default defineComponent({
sponsor: { type: Object as PropType<Sponsor>, default: () => ({}) },
fatal: { type: Array as PropType<FatalError[]>, default: () => [] },
experimental: Boolean,
authDisabled: Boolean,
offline: Boolean,
startupCompleted: Boolean,
evopt: { type: Object as PropType<EvOpt>, required: false },

View file

@ -15,6 +15,7 @@
:sponsor="sponsor"
:fatal="fatal"
:experimental="experimental"
:auth-disabled="authDisabled"
:evopt="evopt"
:installed="installed"
:commit="commit"
@ -41,6 +42,7 @@ export default defineComponent({
sponsor: { type: Object as PropType<Sponsor>, default: () => ({}) },
fatal: { type: Array as PropType<FatalError[]>, default: () => [] },
experimental: Boolean,
authDisabled: Boolean,
evopt: { type: Object as PropType<EvOpt>, required: false },
installed: String,
commit: String,