diff --git a/wdn/templates_4.1/scripts/idm.js b/wdn/templates_4.1/scripts/idm.js index fd6ea76ac..39e749352 100644 --- a/wdn/templates_4.1/scripts/idm.js +++ b/wdn/templates_4.1/scripts/idm.js @@ -248,6 +248,11 @@ define(['wdn', 'jquery', 'require'], function(WDN, $, require) { }, displayLogin : function() { + if (Plugin.getUserId()) { + //if the user is already logged in, we should not reset the login + return; + } + var idm = $(mainSel), loginLink = $(userSel);