YAFLogo

mdavey
  • mdavey
  • 65.2% (Friendly)
  • YAF Forumling Topic Starter YAF Version: 3.0.2
2 years ago
Hi,

I am using the Sample Web App and was wondering if I could change the page you are directed to after you log in.  Currently it goes to the forum page.  I would like it to go to the Default page in the sample webapp root.  Is this possible?

Thanks
Sponsor

tha_watcha
  • tha_watcha
  • 100% (Exalted)
  • YAF.NET Project Lead 🤴 YAF Version: 3.0.3
2 years ago
It is possible but at the moment only if you change the source.

by changing the line (in the file Pages/Account/login.ascx.cs) ...
this.Get ().Redirect(ForumPages.Board);

to
this.Page.Response.Redirect("~/Default.aspx");

But i can make in configurable in the next release.
mdavey
  • mdavey
  • 65.2% (Friendly)
  • YAF Forumling Topic Starter YAF Version: 3.0.2
2 years ago
Worked like a charm.  Thanks for the help.
YAF Logo Copyright © YetAnotherForum.NET & Ingo Herbote. All rights reserved
About Us

The YAF.NET is an open source .NET forum project. YAF.NET is supported by an team of international developers who are build community by building community software.

Powered by Resharper Donate with PayPal button