-
Notifications
You must be signed in to change notification settings - Fork 32
5.0 Change Records
Eric Rasmussen edited this page Oct 19, 2018
·
10 revisions
Relavent commit: https://github.com/unl/wdntemplates/commit/aa5308282ea69ba402577b2c2b2ef9988dbca2f9#diff-90e17c895d145ec1edb98ce019db3c6f
Before
require(['idm'], function(idm) {
idm.setLoginURL('?LOGIN');
idm.setLogoutURL('?LOGOUT');
});
After
require(['idm'], function(idm) {
idm.setLoginURL('?LOGIN');
idm.setLogoutURL('?LOGOUT');
idm.renderAsLoggedOut();
});
// or
WDN.setPluginParam('idm', 'login', '?login');
WDN.setPluginParam('idm', 'logout', '?logout');