No privacy and more cleaning
This commit is contained in:
1
.gitignore
vendored
1
.gitignore
vendored
@ -129,3 +129,4 @@ Temporary Items
|
||||
|
||||
config.json
|
||||
bin/*
|
||||
obj/*
|
||||
@ -74,11 +74,9 @@ namespace NightmareCoreWeb2.Pages
|
||||
ActivateEmail = Request.Form["ActivateEmail"];
|
||||
ActivatePassword = Request.Form["ActivatePassword"];
|
||||
ActivateToken = Request.Form["ActivateToken"];
|
||||
Console.WriteLine($"PostActivateAccount e {ActivateEmail} p {ActivatePassword} t {ActivateToken}");
|
||||
}
|
||||
public void OnPostRequestToken() {
|
||||
RequestTokenEmail = Request.Form["RequestTokenEmail"];
|
||||
|
||||
}
|
||||
|
||||
public bool RequestToken() {
|
||||
|
||||
@ -1,8 +0,0 @@
|
||||
@page
|
||||
@model PrivacyModel
|
||||
@{
|
||||
ViewData["Title"] = "Privacy Policy";
|
||||
}
|
||||
<h1>@ViewData["Title"]</h1>
|
||||
|
||||
<p>Use this page to detail your site's privacy policy.</p>
|
||||
@ -1,24 +0,0 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Threading.Tasks;
|
||||
using Microsoft.AspNetCore.Mvc;
|
||||
using Microsoft.AspNetCore.Mvc.RazorPages;
|
||||
using Microsoft.Extensions.Logging;
|
||||
|
||||
namespace NightmareCoreWeb2.Pages
|
||||
{
|
||||
public class PrivacyModel : PageModel
|
||||
{
|
||||
private readonly ILogger<PrivacyModel> _logger;
|
||||
|
||||
public PrivacyModel(ILogger<PrivacyModel> logger)
|
||||
{
|
||||
_logger = logger;
|
||||
}
|
||||
|
||||
public void OnGet()
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -21,9 +21,6 @@
|
||||
<li class="nav-item">
|
||||
<a class="nav-link text-dark" asp-area="" asp-page="/Index">Home</a>
|
||||
</li>
|
||||
<li class="nav-item">
|
||||
<a class="nav-link text-dark" asp-area="" asp-page="/Privacy">Privacy</a>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@ -15618,11 +15618,6 @@
|
||||
},
|
||||
"RootNamespace": "NightmareCoreWeb2",
|
||||
"Documents": [
|
||||
{
|
||||
"FilePath": "/home/rudi/Projects/NightmareCoreWeb2/Pages/Privacy.cshtml",
|
||||
"TargetPath": "Pages\\Privacy.cshtml",
|
||||
"FileKind": "mvc"
|
||||
},
|
||||
{
|
||||
"FilePath": "/home/rudi/Projects/NightmareCoreWeb2/Pages/Error.cshtml",
|
||||
"TargetPath": "Pages\\Error.cshtml",
|
||||
|
||||
Reference in New Issue
Block a user