open your project file "\DesktopModules\Admin\Authentication\Login.ascx.cs",
then add ===Response.Redirect("~/default.aspx"); == inside ==OnInit(EventArgs e) == function,
this will redirect when your client come come to login page.
sample code :
protected override void OnInit(EventArgs e)
{
Response.Redirect("~/default.aspx");
base.OnInit(e);
ctlPassword.PasswordUpdated += PasswordUpdated;
ctlProfile.ProfileUpdated += ProfileUpdated;
ctlUser.UserCreateCompleted += UserCreateCompleted;
//Set the User Control Properties
ctlUser.ID = "User";
//Set the Profile Control Properties
ctlPassword.ID = "Password";
//Set the Profile Control Properties
ctlProfile.ID = "Profile";
//Override the redirected page title if page has loaded with ctl=Login
if (Request.QueryString["ctl"] != null)
{
if (Request.QueryString["ctl"].ToLower() == "login")
{
var myPage = (CDefault) Page;
if (myPage.PortalSettings.LoginTabId == TabId || myPage.PortalSettings.LoginTabId == -1)
{
myPage.Title = Localization.GetString("ControlTitle_login", LocalResourceFile);
}
}
}
}
and if you want to disable login and register link go to "\DesktopModules\Admin\Authentication\Login.ascx"
and disable following links
============
<ul class="dnnActions dnnClear">
<li id="liRegister" runat="server"><asp:HyperLink ID="registerLink" runat="server" CssClass="dnnSecondaryAction" resourcekey="cmdRegister" /></li>
<li id="liPassword" runat="server"><asp:HyperLink ID="passwordLink" runat="server" CssClass="dnnSecondaryAction" resourcekey="cmdPassword" /></li>
</ul>
thanking you
Regards
ishwor