SharePoint 2007 Portal Site Hidden Login

In an on-going effort the create SharePoint template pages we have made a nice piece of code that allows us to hide the login button of the SharePoint Portal site unless users add a specific variable to the URL or unless they are logged in: <% SPUser currentUser = SPContext.Current.Web.CurrentUser; string DisplayLogin = Request[“login”]; if […]