Login Redirect?

For general questions and discussions specific to the AbleCommerce 7.0 Asp.Net product.
Post Reply
sweeperq
Commodore (COMO)
Commodore (COMO)
Posts: 497
Joined: Tue Jan 03, 2006 2:45 pm

Login Redirect?

Post by sweeperq » Thu Jul 09, 2015 11:40 am

We had to update the location of our Login page. Is there a way to set the authentication provider to go to the new page? If not I'll through a redirect on the old one.

nadeem
Captain (CAPT)
Captain (CAPT)
Posts: 258
Joined: Tue Jul 31, 2012 7:23 pm

Re: Login Redirect?

Post by nadeem » Fri Jul 10, 2015 12:38 am

Yes, you can set the loginUrl in web.config file something like this

Locate

Code: Select all

<authentication mode="Forms">
      <forms timeout="90" slidingExpiration="true" name="ACGOLD.ASPXAUTH"/>
    </authentication>
and replace with

Code: Select all

<authentication mode="Forms">
      <forms timeout="90" slidingExpiration="true" loginUrl="~/DirectoryName/YourLoginPage.aspx" name="ACGOLD.ASPXAUTH"/>
    </authentication>

Post Reply