This commit is contained in:
Damian Lasecki 2018-12-19 21:13:11 +01:00
commit d9521ae99d
3 changed files with 6 additions and 2 deletions

View File

@ -136,7 +136,7 @@ namespace Forum.Controllers
//
// GET: /Account/Register
[AllowAnonymous]
[Authorize]
public ActionResult Register()
{
return View();
@ -145,7 +145,7 @@ namespace Forum.Controllers
//
// POST: /Account/Register
[HttpPost]
[AllowAnonymous]
[Authorize]
[ValidateAntiForgeryToken]
public async Task<ActionResult> Register(RegisterViewModel model)
{

View File

@ -222,6 +222,8 @@
<Content Include="Content\bootstrap.css.map" />
<Content Include="Content\bootstrap-theme.min.css.map" />
<Content Include="Content\bootstrap-theme.css.map" />
<None Include="Properties\PublishProfiles\forum-inzynieria1 - FTP.pubxml" />
<None Include="Properties\PublishProfiles\forum-inzynieria1 - Web Deploy.pubxml" />
<None Include="Scripts\jquery-3.3.1.intellisense.js" />
<Content Include="Scripts\jquery-3.3.1.js" />
<Content Include="Scripts\jquery-3.3.1.min.js" />

View File

@ -191,6 +191,8 @@
<Content Include="ApplicationInsights.config">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content>
<None Include="Properties\PublishProfiles\mailsender-inzynieria1 - FTP.pubxml" />
<None Include="Properties\PublishProfiles\mailsender-inzynieria1 - Web Deploy.pubxml" />
<None Include="Scripts\jquery-3.3.1.intellisense.js" />
<Content Include="Scripts\jquery-3.3.1.js" />
<Content Include="Scripts\jquery-3.3.1.min.js" />