title: Aspnetboilerplate: Configure login path for redirect on core mvc template
body: <p>Sorry if this is straightforward, but I'm having a real block with this one.</p>
  
  <p>I'm trying to move all the standard views and controllers from aspnetboilerplate's Module Zero (Core + MVC + jQuery) into a new area (Admin) and want to make sure the redirect for login on unauthorized view goes to /Admin/Login as opposed to /Account/Login, which is the default.</p>
  
  <p>Any help really appreciated.</p>
  
  <p>Dale</p>
  
  <h1>Update</h1>
  
  <p>Here is the <code>ConfigureServices</code> method:</p>
  
  <pre><code>public IServiceProvider ConfigureServices(IServiceCollection services)
  {
      //MVC
      services.AddMvc(options =&gt;
      {
          options.Filters.Add(new AutoValidateAntiforgeryTokenAttribute());
      });
  
      IdentityRegistrar.Register(services);
      AuthConfigurer.Configure(services, _appConfiguration);
  
      services.ConfigureApplicationCookie(options =&gt; options.LoginPath = "/Admin/Login");
  
      services.AddScoped&lt;IWebResourceManager, WebResourceManager&gt;();
  
      //Configure Abp and Dependency Injection
      return services.AddAbp&lt;CrowdsiteWebMvcModule&gt;(options =&gt;
      {
          //Configure Log4Net logging
          options.IocManager.IocContainer.AddFacility&lt;LoggingFacility&gt;(
              f =&gt; f.UseAbpLog4Net().WithConfig("log4net.config")
          );
      });
  }
  </code></pre>