diff --git a/frontend/src/views/user/DesktopLogin.vue b/frontend/src/views/user/DesktopLogin.vue index de20efc1e..db5718455 100644 --- a/frontend/src/views/user/DesktopLogin.vue +++ b/frontend/src/views/user/DesktopLogin.vue @@ -18,7 +18,7 @@ {{ $t('user.auth.login') }} @@ -87,7 +87,8 @@ const {redirectIfSaved} = useRedirectToLastVisited() const waitingForAuth = ref(false) const errorMessage = ref('') -const hasStoredServer = localStorage.getItem('API_URL') !== null +const storedServerUrl = localStorage.getItem('API_URL') +const hasStoredServer = storedServerUrl !== null const showCustomServerInput = ref(false) listenForDesktopOAuthTokens(async (tokens) => {