From 01d4e137b1a202e2ac1c9e5bcde9da14b71c17d5 Mon Sep 17 00:00:00 2001 From: MillenniumEarl Date: Fri, 2 Oct 2020 17:47:11 +0200 Subject: [PATCH] Minor bugfix --- app/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/index.js b/app/index.js index 941f1e3..819b367 100644 --- a/app/index.js +++ b/app/index.js @@ -295,7 +295,7 @@ module.exports.getUserData = async function () { module.exports.logout = function() { if (!shared.isLogged) { console.warn('user not authenticated, unable to continue'); - return info.version; + return; } shared.isLogged = false; }