Remove background support experiment

This commit is contained in:
Johannes Zellner
2025-04-07 15:13:09 +02:00
parent 4bf13f3c70
commit d57b39da6e
5 changed files with 0 additions and 98 deletions

View File

@@ -191,11 +191,6 @@ onMounted(async () => {
window.document.title = result.cloudronName;
document.getElementById('favicon').href = `${API_ORIGIN}/api/v1/cloudron/avatar?ts=${Date.now()}`;
if (profile.value.hasBackgroundImage) {
window.document.body.style.backgroundImage = `url('${profile.value.backgroundImageUrl}')`;
window.document.body.classList.add('has-background');
}
if (config.value.mandatory2FA && !profile.value.twoFactorAuthenticationEnabled) window.location.hash = `/${VIEWS.PROFILE}?setup2fa`;
window.addEventListener('hashchange', onHashChange);