title: MVC5 Where to put authentication forms in web.config?
body: <p>Following this title, in my web.config, it's generated by VS 2012.</p>
  
  <p>Now, i don't know where i put the below code in web.config through i saw someone put it in <code>&lt;system.web&gt;</code> but in my web.config it have only <code>&lt;system.web.webPages.razor&gt;</code> and <code>&lt;system.webServer&gt;</code>. When i put this code somewhere in web.config I get an error at <code>&lt;authentication mode="Forms"&gt;</code>:</p>
  
  <p>There's code :</p>
  
  <pre><code>&lt;authentication mode="Forms"&gt;
      &lt;forms loginurl="~/Comfirm/Login" timeout="2880"&gt;&lt;/forms&gt;
  &lt;/authentication&gt;
  </code></pre>