Allow User to delete own account (#2949)

* Allow User to delete own account

* Add User delete e2e test

* fix test

* Apply suggestions from code review

Co-authored-by: d11n <mail@dennisreimann.de>

Co-authored-by: d11n <mail@dennisreimann.de>
This commit is contained in:
Andrew Camilleri
2021-10-09 05:18:37 +02:00
committed by GitHub
parent 4321cbf41a
commit 54539001f1
4 changed files with 53 additions and 5 deletions

View File

@@ -8,7 +8,7 @@ namespace BTCPayServer.Models
public ConfirmModel() {}
public ConfirmModel(string title, string desc, string action = null, string buttonClass = ButtonClassDefault)
public ConfirmModel(string title, string desc, string action = null, string buttonClass = ButtonClassDefault, string actionUrl = null)
{
Title = title;
Description = desc;
@@ -19,6 +19,8 @@ namespace BTCPayServer.Models
{
DescriptionHtml = true;
}
ActionUrl = actionUrl;
}
public string Title { get; set; }