YAFLogo

infinitep
  • infinitep
  • 72.8% (Friendly)
  • YAF Lover Topic Starter
12 years ago
Not sure if I am missing something here, I disabled registration in 1.9.4RC1 as i am intergrating with my custom site and added a custom login page, however when I click login it defaults to the YAF login?


[url=http://craigwhiteman.blogspot.com.au/]Capt. ArkCAW HonourNRespect- Need an Ark? I Noah Guy![url]

Sponsor

logan
  • logan
  • 100% (Exalted)
  • YAF Leader
12 years ago
add to app.config

 <add key="YAF.AllowLoginAndLogoff" value="false" />

turns off the login/logout links


test
infinitep
  • infinitep
  • 72.8% (Friendly)
  • YAF Lover Topic Starter
12 years ago
Thanks, yes that turns it off which helps, but really I want to keep it enabled and have the link point to my current integrated site login link???


[url=http://craigwhiteman.blogspot.com.au/]Capt. ArkCAW HonourNRespect- Need an Ark? I Noah Guy![url]

mercuryred
12 years ago
I have the same question. I have YAF integrated into a website, and configured YAF to use thats site membership. I'd like to use the Site login page (not the YAF login page). Is there a setting that you can specify you custom login page?
logan
  • logan
  • 100% (Exalted)
  • YAF Leader
12 years ago
How about a response.redirect in the YAF Login Page_Load

Pages/Login.ascx.cs

 protected void Page_Load(object sender, EventArgs e)
    {
        Response.Redirect("http://www.Yoursite.com/Login.aspx",false);

test