From b124de4f0488444643999758a53ab42434b3694f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gina=20H=C3=A4u=C3=9Fge?= Date: Wed, 25 Nov 2020 17:27:35 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=94=A5=20Remove=20no=20longer=20needed=20?= =?UTF-8?q?=5Fdummy=20name=20mapping?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/octoprint/static/js/app/viewmodels/printerstate.js | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/octoprint/static/js/app/viewmodels/printerstate.js b/src/octoprint/static/js/app/viewmodels/printerstate.js index 515c6fa71..799b5d4cb 100644 --- a/src/octoprint/static/js/app/viewmodels/printerstate.js +++ b/src/octoprint/static/js/app/viewmodels/printerstate.js @@ -247,10 +247,6 @@ $(function () { self.userString = ko.pureComputed(function () { var user = self.user(); - if (!CONFIG_ACCESS_CONTROL || user === "_dummy") { - return ""; - } - if (user === "_api") { user = "API client"; }