From 8d04bdc4f084a61418c97efbe0990a27097dcd07 Mon Sep 17 00:00:00 2001 From: kolaente Date: Wed, 21 Apr 2021 09:44:40 +0200 Subject: [PATCH] Hide the login form if no api url is configured --- src/components/misc/api-config.vue | 1 + src/views/user/Login.vue | 8 +++++--- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/src/components/misc/api-config.vue b/src/components/misc/api-config.vue index cf0322a4..d055ed2d 100644 --- a/src/components/misc/api-config.vue +++ b/src/components/misc/api-config.vue @@ -189,6 +189,7 @@ export default { localStorage.setItem('API_URL', window.API_URL) this.configureApi = false this.apiUrl = window.API_URL + this.$emit('foundApi', this.apiUrl) } }) }, diff --git a/src/views/user/Login.vue b/src/views/user/Login.vue index 37bae4d0..e003735a 100644 --- a/src/views/user/Login.vue +++ b/src/views/user/Login.vue @@ -5,8 +5,8 @@
You successfully confirmed your email! You can log in now.
- -
+ +
@@ -82,7 +82,7 @@
-
+